巴哈姆特爬蟲|哈啦板貼文、回覆、GP/BP、輿情匯出(免 API)
Pricing
from $2.00 / 1,000 主題列表
巴哈姆特爬蟲|哈啦板貼文、回覆、GP/BP、輿情匯出(免 API)
免登入抓巴哈姆特哈啦板:主題列表、主文與全部樓層回覆+樓中留言,含 GP/BP、作者、時間,輸出 JSON/CSV/Excel。台灣遊戲社群輿情、品牌口碑、熱門話題監測必備。
Pricing
from $2.00 / 1,000 主題列表
Rating
0.0
(0)
Developer
Chad
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a day ago
Last modified
Categories
Share
巴哈姆特爬蟲|哈啦板貼文、回覆、輿情一鍵匯出(免 API)
抓 巴哈姆特(forum.gamer.com.tw)哈啦板 的主題列表與單篇貼文全文,含樓層回覆與樓中留言、GP/BP、作者、時間。純 HTML(CheerioCrawler)、免登入、無瀏覽器,輸出結構化 JSON/CSV/Excel。台灣遊戲社群輿情、品牌口碑、熱門話題監測必備。
輸出欄位
| 欄位名稱 | 型別 | 說明 |
|---|---|---|
| thread_id | string | null | 主題 ID(snA),跨 run 穩定 |
| bsn | string | 板號 |
| board | string | null | 子板名稱(如「大混戰」);主題模式為文章分類標籤 |
| site | string | 固定 bahamut |
| title | string | null | 主題標題 |
| author | string | null | 作者暱稱 |
| author_id | string | null | 作者的 gamer.com.tw 帳號 ID |
| reply_count | number | null | 互動數(列表模式) |
| view_count | number | null | 人氣/瀏覽數(列表模式) |
| brief | string | null | 開頭貼文預覽文字(列表模式) |
| last_reply_at | string | null | 最後回覆時間(ISO 8601,由「N 分前」等相對時間換算) |
| is_pinned | boolean | 是否為置頂主題(列表模式) |
| content | string | null | 主文/回覆內文純文字(主題模式) |
| content_images | array | 內文圖片/貼圖網址(主題模式) |
| gp_count | number | null | GP(推)數 |
| bp_count | number | null | BP(噓)數 |
| floor | number | null | 樓層號(回覆為樓層;樓中留言為 null) |
| reply_type | string | floor(樓層)或 comment(樓中留言) |
| total_pages | number | null | 主題總頁數(主文列) |
| created_at | string | null | 發文時間(ISO 8601,台灣 UTC+8 換算) |
| thread_url | string | 主題網址 |
| source_mode | string | board 或 thread |
| source_query | string | 實際查詢(板號或 bsn/snA) |
| scraped_at | string | 抓取時間(ISO 8601) |
缺值一律給 null,不省略欄位。
模式
| 模式 | 抓什麼 | 計費 |
|---|---|---|
board(哈啦板列表,預設) | 指定板號(bsn)的最新主題列表,可用標題關鍵字過濾 | search-listing $0.002/筆 |
thread(單篇主題) | 主文 + 全部樓層回覆 + 樓中留言(自動翻頁) | product-detail $0.008(主文)+ review-item $0.003/則回覆 |
輸入欄位
| 欄位 | 型別 | 預設 | 說明 |
|---|---|---|---|
| mode | string | board | board 或 thread |
| boards | array | ["17532"] | 板列表模式的板號 bsn(數字,或貼板網址自動抽出) |
| threadUrls | array | — | 主題模式的主題網址(C.php?bsn=&snA=,或 bsn/snA 簡寫) |
| keywords | array | [] | (選填)只保留標題含任一關鍵字的主題 |
| dateFrom / dateTo | string | — | (選填)3d/12h/2w 或 MM/DD/YY,依最後回覆時間過濾 |
| bulkInput | string | — | 一行一個,依模式併入 boards 或 threadUrls |
| maxItems | integer | 50 | 每板主題數/每主題回覆數上限(上限 500) |
| proxyConfiguration | object | datacenter | 預設 Apify datacenter proxy |
怎麼找板號 bsn?
打開任一哈啦板,網址是 https://forum.gamer.com.tw/B.php?bsn=17532 —— bsn= 後面的數字就是板號。例如英雄聯盟=17532。
輸入範例
1. 抓某板最新主題列表
{ "mode": "board", "boards": ["17532"], "maxItems": 50 }
2. 標題關鍵字過濾 + 只要近 7 天
{ "mode": "board", "boards": ["17532"], "keywords": ["改版", "活動"], "dateFrom": "7d", "maxItems": 50 }
3. 多板批量
{ "mode": "board", "bulkInput": "17532\n60076\n60599", "maxItems": 30 }
4. 抓單篇主題全文+回覆
{ "mode": "thread", "threadUrls": ["https://forum.gamer.com.tw/C.php?bsn=17532&snA=705476"], "maxItems": 100 }
5. 主題簡寫(bsn/snA)
{ "mode": "thread", "threadUrls": ["17532/705476"], "maxItems": 50 }
注意事項
- 免登入、無瀏覽器:純 CheerioCrawler 打 HTML 端點,成本極低。
- 哈啦板依「最後回覆」排序,
dateFrom/dateTo依最後回覆時間過濾;翻到整頁主題都早於dateFrom即自動停止翻頁,適合排程監控省成本。 - 時間:主文時間依台灣時間(UTC+8)換算為 UTC;列表的相對時間(「12 分前」)依抓取當下換算。
- 年齡限制板(少數標示「兒少保護警示」的板,如部分場外板)需登入成年帳號,v1 不支援,請使用一般哈啦板。全站關鍵字搜尋規劃於 v1.1。
- 每 domain 併發 ≤5、指數退避重試 ≤3 次;連續 5 頁無新資料即停止。
FAQ
Q:一次可以抓多個板嗎? 可以,boards 填多個 bsn,或用 bulkInput 一行一個。
Q:抓得到樓中留言嗎? 可以,主題模式會抓樓層回覆(reply_type=floor)與樓中留言(reply_type=comment)。
Q:要 proxy 嗎? 預設已用 Apify datacenter proxy,一般不用改。
Q:需要登入嗎? 不需要,只抓公開內容。
免責聲明
本工具僅抓取巴哈姆特公開頁面資料,供研究、輿情分析與市場調查使用。請遵守巴哈姆特使用條款與當地法令,勿用於侵犯隱私或其他違法用途。抓取內容之著作權屬原作者所有。
巴哈姆特爬蟲 Bahamut scraper|台灣遊戲論壇、哈啦板、貼文、回覆、GP/BP、輿情監測、社群口碑、品牌聲量、免 API、JSON/CSV/Excel 匯出