內容捕手 Content Hunter

👤 judefluen-coder 📦 v1.1.0 ⭐ 4.4 ⬇️ 16.5K 下載
📊 資料分析 免費

📖 技能介紹


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點彙報


內容捕手 / Content Hunter

概述 / Overview

持續刷小紅書、抖音,B站3個平臺,每次每平臺抓取40條熱門內容並儲存,晚上8點生成彙報。/Scrapes 3 platforms (Xiaohongshu, Douyin, Bilibili), 40 items each, generates daily report at 8 PM.


一、瀏覽器標籤管理 / Browser Tab Management

平臺 / 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


二、儲存位置 / Storage Location

工作空間 / 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. 在新資料夾中抓取和儲存資料


三、記錄格式 / Data Format

重要:每條記錄必須包含以下所有欄位,缺一不可! / Important: Every record MUST have ALL these fields!

小紅書 / Xiaohongshu

### 第X條 / Item #X
- 標題 / Title: xxx
- 作者 / Author: xxx
- 點贊 / Likes: xxx
- 收藏 / Saves: xxx
- 評論 / Comments: xxx
- 話題 / Tags: #xxx #xxx
- 內容總結 / Summary: 詳細描述... (3-5句話 / 3-5 sentences)

抖音 / Douyin

### 第X條 / Item #X
- 標題 / Title: xxx
- 作者 / Author: @xxx
- 點贊 / Likes: xxx
- 話題 / Tags: #xxx
- 內容總結 / Summary: 詳細描述... (3-5句話 / 3-5 sentences)

B站 / Bilibili

### 第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)

四、執行流程 / Execution Flow

4.1 抓取要求 / Scraping Requirement

每次每個平臺抓取40條熱門內容 / Scrape 40 hot items per platform each time

4.2 初始化 / Initialization

  1. 建立新任務資料夾 / Create new task folder:mkdir -p ~/.openclaw/workspace/content-hunter/task-$(date +%Y-%m-%d-%H%M)/
  2. 用 browser.open 開啟3個平臺 / Open 3 platforms via browser.open

4.3 迴圈執行 / Loop Execution

  1. browser.snapshot() 獲取頁面內容 / Get page content
  2. 必須提取所有欄位!每條必須包含:標題、作者、熱度、內容總結 / Must extract ALL fields: title, author, views/likes, content summary
  3. 儲存到當前任務資料夾 / Save to current task folder:~/.openclaw/workspace/content-hunter/task-YYYY-MM-DD-HHMM/
  4. 等待3-5分鐘 / Wait 3-5 minutes
  5. ⚠️ 抓取過程中不傳送任何進度訊息到群聊,只儲存資料 / ⚠️ Do NOT send any progress messages to group chats during scraping, only save data

    小蔥技能站7w4.net,專業的AI技能分享平臺。

  6. 彙報任務執行完畢後,停止抓取,等待下次定時任務 / After report is sent, stop scraping and wait for next scheduled task

4.4 彙報資料範圍 / Report Data Scope

重要:彙報時需要彙總當日所有抓取任務的資料,而非僅最近一次! / 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

4.5 B站字幕提取 / Bilibili Subtitle Extraction

使用 bilibili-youtube-watcher 技能的 get_transcript.py 指令碼提取字幕


五、晚上彙報 / Daily Report

彙報流程 / Report Flow

  1. 讀取資料:從最新的task資料夾讀取各平臺md檔案 / Read from latest task folder
  2. 生成彙報 / Generate report
  3. 傳送彙報到群裡 / Send report to group
  4. 彙報後自動清理:執行 openclaw cron list 找到所有內容捕手相關 cron(名稱含"內容捕手"或"hunter"),逐一刪除
  5. 彙報後停止,等待下次任務 / After cleanup, stop and wait for next task

彙報內容 / Report Contents

  1. 發原始資料檔案連結 / Send raw data links
  2. 熱門內容TOP20(必須包含內容總結!)/ TOP 20 (MUST include content summary!)
  3. 格式:按平臺分類,每條包含:標題 | 熱度 | 內容總結(1-2句話)
  4. 例如:小紅書暖心正能量:標題 → 熱度 | 內容總結
  5. Format: By platform, each item: Title | Views/Likes | Summary
  6. 各平臺趨勢 + 整體趨勢 / Platform trends + Overall trends
  7. 推薦深度閱讀 / Recommended deep reads
  8. 呱呱感悟 / Guagua's thoughts
  9. 關閉瀏覽器 / Close browser tabs

六、可用平臺 / Supported Platforms

平臺 / Platform 狀態 / Status
小紅書 / Xiaohongshu
抖音 / Douyin
B站 / Bilibili

七、使用方式 / Usage

7.1 觸發方式 / How to Trigger

方式一:手動對話 / Method 1: Manual Chat

  • "幫我刷短影片平臺" / "Scrape short video platforms"
  • "抓取熱門內容" / "Get trending content"
  • "生成內容彙報" / "Generate content report"
  • "啟用內容捕手" / "Enable content hunter"

定時任務需要手動建立,參考以下配置: - 抓取任務:每30分鐘執行一次(9:00-20:00),靜默執行不發群訊息 - 彙報任務:晚上20:00執行,傳送到小紅書群

⚠️ 絕對原則:內容捕手的所有任務和彙報,只允許傳送到小紅書呱呱群(oc_d21f6b6f9bd843444622c8e221134f47),禁止傳送到任何其他群!

7.2 可配置引數 / Configurable Parameters

引數 / 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/ 一般不改

7.3 實際儲存示例 / Storage Example

任務執行後,資料夾裡有什麼?

例如:使用者說"幫我刷短影片平臺"

~/.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)

7.4 彙報內容示例 / Report Example

晚上8點彙報長這樣:

📊 2026年3月11日 內容捕手彙報

🔥 熱門內容TOP20
【小紅書】
1. 標題 → 熱度 | 內容總結
2. ...

【B站】
1. 標題 → 熱度 | 內容總結
...

📈 各平臺趨勢總結
- 小紅書:xxx
- 抖音:xxx
...

🎯 整體趨勢
1. xxx
2. xxx

📖 推薦深度閱讀
- xxx

🐸 呱呱感悟
xxx

7.5 對話示例 / Chat Examples

使用者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

7.4 注意事項 / Notes

  • 定時任務可能因Gateway重啟而丟失,需定期檢查 / Cron may be lost on Gateway restart
  • 抓取過程中請勿關閉瀏覽器 / Don't close browser during scraping
  • 建議保持瀏覽器標籤頁穩定 / Keep browser tabs stable

八、依賴 / Dependencies

8.1 依賴的Skill / Required Skills

Skill 用途 / Purpose
bilibili-youtube-watcher 提取B站影片字幕 / Extract Bilibili subtitles

8.2 依賴的工具 / Required Tools

工具 / Tool 用途 / Purpose
browser 瀏覽器自動化抓取 / Browser automation
yt-dlp 影片字幕提取 / Video subtitle extraction

8.3 前置要求 / Prerequisites

  • OpenClaw瀏覽器控制服務正常執行 / OpenClaw browser service running
  • bilibili-youtube-watcher技能已安裝 / bilibili-youtube-watcher skill installed

🤖 AI 評測

內容捕手是一個功能完整、文件清晰的內容抓取工具。它支援小紅書、抖音、B站三個平臺的熱榜內容抓取,並生成結構化彙報,資料儲存設計安全可靠,歷史記錄永不丟失。文件質量很高,使用說明詳細直觀。不過穩定性方面還有不足:錯誤提示不夠友好,定時任務偶發中斷後恢復機制不明確。總體而言,這是一個質量較好的工具,能夠滿足日常監測短影片熱點內容的需求。

📊 多維度評分

適應性4.2
規範性4.4
有效性4.4
可靠性4
可信度4.9

📁 包含檔案 (4 個)

📄 README.md 1.8 KB
📄 SKILL.md 11.1 KB
📄 _meta.json 133 B
📄 evals/evals.json 639 B