# Mobile01 Posts & Replies (`thescrapelab/mobile01-posts-replies`) Actor

Mobile01 爬蟲，匯出公開看板與討論串的主文全文、主要回覆、發文時間及引言。支援繁體中文原文、JSON 與 CSV，適合整理開箱文和使用心得。

- **URL**: https://apify.com/thescrapelab/mobile01-posts-replies.md
- **Developed by:** [Inus Grobler](https://apify.com/thescrapelab) (community)
- **Categories:** Social media
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 文章或回覆

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Mobile01 Posts & Replies

抓取 Mobile01 論壇的公開看板與討論串，匯出主文全文及主要回覆。資料保留繁體中文原文、發文時間、文章編號與引言來源，可用於整理手機、汽車、家電的開箱文、使用心得及車主回饋。

### 快速開始與輸入設定｜Quick start

將公開看板或討論串網址貼到 **Mobile01 網址**。設定 **主題數量上限**與**每個主題的回覆上限**，再按 **Start**。預設範例會從一個討論串擷取最多 10 筆資料，交付 10 筆時費用為 US$0.02。

```json
{
  "startUrls": [{"url": "https://www.mobile01.com/topicdetail.php?f=738&t=7294073"}],
  "maxTopics": 1,
  "maxRepliesPerTopic": 9
}
```

- `startUrls` 接受公開看板（`topiclist.php`）與討論串（`topicdetail.php`）網址。貼上帶頁碼的討論串網址時，會從主文開始。
- `maxTopics` 設定整次執行最多擷取幾個主題。
- `maxRepliesPerTopic` 設定每個主題最多擷取幾則主要回覆，主文另計。填入 `0` 可只擷取主文。

想從看板找主題，可以先試用[洗濯家電看板](https://www.mobile01.com/topiclist.php?f=730)，把主題上限設為 3、每個主題的回覆上限設為 4。最多交付 15 筆，費用上限為 US$0.03。

### 輸出資料｜Output

可從 Apify 下載 JSON 或 CSV。在 Excel 中建議以 UTF-8 匯入 CSV，並將文章編號欄位設為文字。Apify 原生 XLSX 匯出可能遺漏部分表情符號。下方摘錄一筆實際回覆的主要欄位。

```json
{
  "itemType": "reply",
  "sourceUrl": "https://www.mobile01.com/topicdetail.php?f=738&t=7294073&p=2#article_93497589",
  "threadId": "7294073",
  "itemId": "93497589",
  "text": "Gemini AI可以運用在 Galaxy Watch9真的很棒唷",
  "timestamp": "2026-08-26T13:08:00+08:00",
  "floor": 11,
  "parentItemId": null,
  "quotes": []
}
```

每筆資料包含原文及擷取時間。頁面有提供時，也會保留主題標題、作者暱稱、樓層、評分數及媒體連結。原文 `text` 與引言 `quotes` 分開儲存，`quotedItemIds` 記錄頁面明示的引文編號。若頁面沒有明確的回覆對象，`parentItemId` 就會是 `null`。建議用 JSON 保留引言與連結的陣列結構。

### Python API

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("thescrapelab/mobile01-posts-replies").call(run_input={
    "startUrls": [{"url": "https://www.mobile01.com/topicdetail.php?f=738&t=7294073"}],
    "maxTopics": 1,
    "maxRepliesPerTopic": 9,
})

for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item["itemId"], item["text"])
```

### 擷取範圍與限制｜Limits and coverage

此爬蟲擷取公開討論串的主文與分頁中的主要回覆。樓層下方的留言、需登入才能瀏覽的內容及歷史存檔不在擷取範圍內。若遇到頁面不存在、拒絕存取或只取得部分資料，可查看執行輸出中的 **Run coverage**。

同一次執行會依文章編號去除重複資料。恢復原執行時會核對已交付的紀錄。另開一次執行會重新擷取。每次最多處理 1,500 個頁面、輸出 10,000 筆紀錄，實際筆數取決於網址、回覆上限與來源可用性。請依 Mobile01 的適用條款及您的使用授權處理資料。Mobile01 的內容使用聲明排除 AI 訓練。

### 費用｜Pricing

**每 1,000 筆 US$2**，每筆成功交付的唯一主文或主要回覆收取 **US$0.002**，已包含執行平台費用。10 筆為 US$0.02，無啟動費。重複資料、錯誤及執行摘要不計入結果費用。實際費率以 Store 的 [Pricing](https://apify.com/thescrapelab/mobile01-posts-replies/pricing) 頁面為準。

### 常見問題｜FAQ

**能匯出整個公開看板嗎？** 提供看板網址後，Actor 會在設定的主題與回覆上限內逐篇擷取。較短的討論串或暫時無法存取的頁面可能讓結果少於設定的上限。

**為什麼有些資料沒有樓層或回覆對象？** 部分回覆只顯示樓主標記，部分引言也沒有明示回覆對象。這些欄位會保留為 `null`。

# Actor input Schema

## `startUrls` (type: `array`):

貼上一個或多個 Mobile01 公開看板或討論串網址。即使網址含有頁碼，討論串仍會從主文開始擷取。

## `maxTopics` (type: `integer`):

整次執行最多擷取幾個不同的主題。若提供多個網址，這些網址共用同一個上限。

## `maxRepliesPerTopic` (type: `integer`):

每個主題最多擷取幾則主要回覆，主文另計。填入 0 可只擷取主文。

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.mobile01.com/topicdetail.php?f=738&t=7294073"
    }
  ],
  "maxTopics": 1,
  "maxRepliesPerTopic": 9
}
```

# Actor output Schema

## `records` (type: `string`):

No description

## `summary` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "startUrls": [
        {
            "url": "https://www.mobile01.com/topicdetail.php?f=738&t=7294073"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("thescrapelab/mobile01-posts-replies").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "startUrls": [{ "url": "https://www.mobile01.com/topicdetail.php?f=738&t=7294073" }] }

# Run the Actor and wait for it to finish
run = client.actor("thescrapelab/mobile01-posts-replies").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.mobile01.com/topicdetail.php?f=738&t=7294073"
    }
  ]
}' |
apify call thescrapelab/mobile01-posts-replies --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,thescrapelab/mobile01-posts-replies"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/EFXRbPaUkeswKoEzL/builds/Wb8qw7Qkhebtny0gT/openapi.json
