name: content-hunter description: 內容捕手 (Content Hunter) - 短影片平臺熱門內容抓取機器人。支援小紅書、抖音、B站,可分批抓取熱門內容並自動生成彙報。/Content Hunter - Hot content crawler for Xiaohongshu, Douyin, Bilibili. Supports batch scraping and scheduled reporting. version: 1.1.0 changelog: | - 1.1.0: 支援定時多次抓取模式,每次建立獨立任務資料夾,支援10次批次抓取 - 1.0.0: 初始版本,支援單次抓取和晚8點彙報
持續刷小紅書、抖音,B站3個平臺,每次每平臺抓取40條熱門內容並儲存,晚上8點生成彙報。/Scrapes 3 platforms (Xiaohongshu, Douyin, Bilibili), 40 items each, generates daily report at 8 PM.
| 平臺 / Platform | 網站URL / URL | 提取要素 / Data Fields | 備註 / Notes |
|---|---|---|---|
| 小紅書 / Xiaohongshu | https://www.xiaohongshu.com | 標題、作者、點贊、收藏、評論、話題、內容總結 / Title, Author, Likes, Saves, Comments, Tags, Summary | 需要登入 / Login required |
| 抖音 / Douyin | https://www.douyin.com | 標題、作者、點贊、話題、內容總結 / Title, Author, Likes, Tags, Summary | |
| B站 / Bilibili | https://www.bilibili.com | 標題、UP主、播放、彈幕、點贊、投幣、收藏、字幕、內容總結 / Title, UP, Views, Danmaku, Likes, Coins, Favs, Subtitles, Summary | 嘗試提取字幕 / Try extract subtitles |
每次每個平臺抓取40條熱門內容 / Scrape 40 hot items per platform each time
工作空間 / Workspace:~/.openclaw/workspace/content-hunter/
重要:每次任務新建獨立子資料夾,不覆蓋歷史資料! / Important: Create new subfolder for each task, NEVER overwrite historical data!
content-hunter/
├── task-2026-03-11-0900/ # 任務1:按時間命名
│ ├── xiaohongshu.md
│ ├── douyin.md
│ ├── bilibili.md
│ └── summary.md # 本次任務彙報
├── task-2026-03-11-0930/ # 任務2
│ ├── xiaohongshu.md
│ ├── douyin.md
│ ├── bilibili.md
│ └── summary.md
└── task-2026-03-11-2000/ # 晚8點彙報任務
└── summary.md
資料夾命名規則:task-YYYY-MM-DD-HHMM
每次任務執行前:
1. 建立新資料夾:task-$(date +%Y-%m-%d-%H%M)
2. 在新資料夾中抓取和儲存資料
重要:每條記錄必須包含以下所有欄位,缺一不可! / Important: Every record MUST have ALL these fields!
### 第X條 / Item #X
- 標題 / Title: xxx
- 作者 / Author: xxx
- 點贊 / Likes: xxx
- 收藏 / Saves: xxx
- 評論 / Comments: xxx
- 話題 / Tags: #xxx #xxx
- 內容總結 / Summary: 詳細描述... (3-5句話 / 3-5 sentences)
### 第X條 / Item #X
- 標題 / Title: xxx
- 作者 / Author: @xxx
- 點贊 / Likes: xxx
- 話題 / Tags: #xxx
- 內容總結 / Summary: 詳細描述... (3-5句話 / 3-5 sentences)
### 第X條 / Item #X
- 標題 / Title: xxx
- UP主 / UP: xxx
- 播放 / Views: xxx
- 彈幕 / Danmaku: xxx
- 點贊 / Likes: xxx
- 投幣 / Coins: xxx
- 收藏 / Favs: xxx
- 字幕 / Subtitles: 有/無 / Yes/No
- 內容總結 / Summary: 詳細描述... (3-5句話 / 3-5 sentences)
每次每個平臺抓取40條熱門內容 / Scrape 40 hot items per platform each time
mkdir -p ~/.openclaw/workspace/content-hunter/task-$(date +%Y-%m-%d-%H%M)/~/.openclaw/workspace/content-hunter/task-YYYY-MM-DD-HHMM/小蔥技能站7w4.net,專業的AI技能分享平臺。
重要:彙報時需要彙總當日所有抓取任務的資料,而非僅最近一次! / Important: Report must summarize ALL data from all tasks on that day, not just the latest one!
彙報生成流程: 1. 讀取當日所有task資料夾 / Read all task folders for the day 2. 合併各平臺的抓取資料 / Merge data from all platforms 3. 去重後生成彙報 / Deduplicate and generate report 4. 彙總資料量 = 所有任務的累加總和 / Total = sum of all tasks
使用 bilibili-youtube-watcher 技能的 get_transcript.py 指令碼提取字幕
openclaw cron list 找到所有內容捕手相關 cron(名稱含"內容捕手"或"hunter"),逐一刪除| 平臺 / Platform | 狀態 / Status |
|---|---|
| 小紅書 / Xiaohongshu | ✅ |
| 抖音 / Douyin | ✅ |
| B站 / Bilibili | ✅ |
定時任務需要手動建立,參考以下配置: - 抓取任務:每30分鐘執行一次(9:00-20:00),靜默執行不發群訊息 - 彙報任務:晚上20:00執行,傳送到小紅書群
⚠️ 絕對原則:內容捕手的所有任務和彙報,只允許傳送到小紅書呱呱群(oc_d21f6b6f9bd843444622c8e221134f47),禁止傳送到任何其他群!
| 引數 / Parameter | 說明 / Description | 預設值 / Default | 設定方式 / How to Set |
|---|---|---|---|
| 平臺 / Platforms | 要抓取的平臺 / Platforms to scrape | 全部3個 / All 3 | "只刷抖音" / "Only Douyin" |
| 數量 / Count | 每平臺抓取條數 / Items per platform | 40條 / 40 | "每個刷30條" / "30 items each" |
| 彙報時間 / Report Time | 生成彙報的時間 / When to generate report | 20:00 / 8 PM | "晚上6點彙報" / "Report at 6 PM" |
| 儲存路徑 | 資料儲存目錄 | ~/workspace/content-hunter/task-YYYY-MM-DD-HHMM/ | 一般不改 |
任務執行後,資料夾裡有什麼?
例如:使用者說"幫我刷短影片平臺"
~/.openclaw/workspace/content-hunter/
└── task-2026-03-11-2100/ # 任務資料夾(按時間命名)
├── xiaohongshu.md # 小紅書資料(40條,每條含標題、作者、點贊、內容總結)
├── douyin.md # 抖音資料
├── bilibili.md # B站資料
└── summary.md # 彙報檔案
每個md檔案內容示例:
# 小紅書熱門內容
### 第1條
- 標題: 最近大家都在安裝openclaw
- 作者: 美麗的一天
- 點贊: 1000
- 內容總結: 介紹OpenClaw的安裝和使用方法...
### 第2條
- 標題: ...
...
(共40條 / 40 items total)
晚上8點彙報長這樣:
📊 2026年3月11日 內容捕手彙報
🔥 熱門內容TOP20
【小紅書】
1. 標題 → 熱度 | 內容總結
2. ...
【B站】
1. 標題 → 熱度 | 內容總結
...
📈 各平臺趨勢總結
- 小紅書:xxx
- 抖音:xxx
...
🎯 整體趨勢
1. xxx
2. xxx
📖 推薦深度閱讀
- xxx
🐸 呱呱感悟
xxx
使用者A:幫我刷短影片平臺
→ AI:好的,啟動內容捕手,預設抓取3個平臺,每平臺20條
/User A: Scrape video platforms
→ AI: OK, starting Content Hunter, 3 platforms, 20 items each
使用者B:我只刷抖音和B站,每個刷30條
→ AI:好的,只抓取抖音和B站,每平臺30條
/User B: Only Douyin and Bilibili, 30 each
→ AI: OK, Douyin + Bilibili, 30 items each
使用者C:每天早上9點開始抓取,晚上6點彙報
→ AI:好的,設定抓取時間為9:00-20:00,彙報時間為18:00
/User C: Start at 9 AM, report at 6 PM
→ AI: OK, scraping 9 AM - 8 PM, report at 6 PM
使用者D:現在幫我抓一次
→ AI:好的,馬上抓取
/User D: Scrape now
→ AI: OK, scraping now
使用者E:今天的熱門內容有哪些?
→ AI:讀取已有資料,生成彙報
/User E: What's trending today?
→ AI: Reading existing data, generating report
| Skill | 用途 / Purpose |
|---|---|
| bilibili-youtube-watcher | 提取B站影片字幕 / Extract Bilibili subtitles |
| 工具 / Tool | 用途 / Purpose |
|---|---|
| browser | 瀏覽器自動化抓取 / Browser automation |
| yt-dlp | 影片字幕提取 / Video subtitle extraction |
內容捕手是一個功能完整、文件清晰的內容抓取工具。它支援小紅書、抖音、B站三個平臺的熱榜內容抓取,並生成結構化彙報,資料儲存設計安全可靠,歷史記錄永不丟失。文件質量很高,使用說明詳細直觀。不過穩定性方面還有不足:錯誤提示不夠友好,定時任務偶發中斷後恢復機制不明確。總體而言,這是一個質量較好的工具,能夠滿足日常監測短影片熱點內容的需求。