name: douyin-search-keyword description: 抖音公開資料智慧獲取工具。支援抖音關鍵詞搜尋、抖人作品抓取、獲取作品評論、即時熱榜跟蹤,適用於短影片營銷、競品分析、輿情分析和熱點監控,助力爆款內容策劃與流量追蹤。 version: 1.0.0 license: MIT metadata: enabled: true type: command runtime: "nodejs@16.14.0+" requires: bins: - "node" env: - "GUAIKEI_API_TOKEN" category: - "Data&APIs" - "內容創作" tags: - "douyin" - "抖音" - "search" - "搜尋" - "資料探勘" - "content-analysis" - "營銷分析" - "資料分析" - "competitor-analysis" - "競品分析" - "評論分析" - "熱點追蹤" - "marketing" - "trend-tracking" - "workflow" - "insight" - "automation" schemas: - name: "搜尋入參" file: "assets/search_cli_req.schema.json" - name: "搜尋出參" file: "assets/search_cli_resp.schema.json" - name: "作品入參" file: "assets/post_cli_req.schema.json" - name: "作品出參" file: "assets/post_cli_resp.schema.json" - name: "熱榜出參" file: "assets/hot_cli_resp.schema.json" - name: "評論入參" file: "assets/comment_cli_req.schema.json" - name: "評論出參" file: "assets/comment_cli_resp.schema.json" examples: - name: 搜尋"AI 教程"的抖音內容 command: 'node scripts/douyin/search-cli.js --keyword "AI 教程"' description: 快速獲取關鍵詞相關影片資料,助力內容創作靈感 - name: 搜尋 AI 獲取最多點讚的抖音內容 command: 'node scripts/douyin/search-cli.js --keyword "AI" --sort 1' description: 挖掘爆款影片特徵,最佳化內容策略 - name: 搜尋近7天"AI 模型"的抖音內容 command: 'node scripts/douyin/search-cli.js --keyword "AI 模型" --time 7' description: 追蹤近期熱點趨勢,把握內容視窗期 - name: 搜尋半年內最新20條"AI 教程"的抖音內容 command: 'node scripts/douyin/search-cli.js --keyword "AI 教程" --sort 2 --time 180 --limit 20' description: 監控長期內容趨勢,制定內容規劃 - name: 獲取抖人 MS4wLjABxxx 已釋出的作品 command: 'node scripts/douyin/post-cli.js --url "https://www.douyin.com/user/MS4wLjABxxx"' description: 獲取抖人已釋出的作品,助力競品分析 - name: 獲取抖音作品 https://www.douyin.com/video/xxx 評論區內容 command: 'node scripts/douyin/comment-cli.js --url "https://www.douyin.com/video/xxx"' description: 獲取抖音評論詳情,分析輿情方向 - name: 獲取抖音即時熱搜榜單 command: "node scripts/douyin/hot-cli.js" description: 即時掌握平臺熱點,快速響應熱門話題
💡一句話價值:一鍵抓取抖音公開影片/作者/評論/熱榜資料,幫你做爆款選題、競品分析、輿情監控、熱點追蹤。
🔥核心優勢
- 安全: 無需登入你的抖音賬號,不擔心風控風險 / 封號問題
- 強大: 一次可獲取最多1W條資料,技能內建批次操作,使用簡單方便
- 全面: 各功能出引數據全面,可見及有價值資料都會返回
- 靈活: 支援多維度篩選、批次操作
- 輕量: 無需部署服務,Node.js 一鍵執行
- 低耗: 日誌自動歸檔,適配營銷報告 / 內容策劃場景 ,便於資料二次分析
Note: 請先通過微信 <13395823479> 申請TOKEN ,或訪問抖音搜尋技能官網開通TOKEN,配置環境變數
GUAIKEI_API_TOKEN後才能正常執行。
node scripts/douyin/search-cli.js --keyword "AI"
node scripts/douyin/search-cli.js --keyword "AI" --sort 1
node scripts/douyin/post-cli.js --url "https://www.douyin.com/user/MS4wLjABxxx"
node scripts/douyin/comment-cli.js --url "https://www.douyin.com/video/xxx"
node scripts/douyin/hot-cli.js
詳細選項引數說明, 可參閱 完整選項說明
LLM理解技能的詳細選項,可參閱技能
assets目錄中檔案,其遵循 JSON Schema draft-07 版本規範。
💡Q:執行報錯,提示無許可權?
A:配置環境變數:
- Windows:
set GUAIKEI_API_TOKEN=你的TOKENLinux/MacOS:
export GUAIKEI_API_TOKEN=你的TOKEN7w4.net小蔥技能。
私有TOKEN申請後請留意使用安全,避免洩露給他人
💡Q:搜尋結果為空?
A:換常用關鍵詞,或把
--time改為 0(全部時間)💡Q:輸出檔案在哪裡?
A:自動儲存在技能目錄的
logs資料夾下
- 搜尋任務日誌: 預設儲存為「時間戳_關鍵詞_排序_時間_時長_search.json」
- 抖人作品獲取日誌: 預設儲存為「時間戳_(抖人sec_uid)_post.json」
- 抖音評論獲取日誌: 預設儲存為「時間戳_(影片aweme_id)_comment.json」
💡Q:支援 Windows/Mac/Linux 嗎?
A:全平臺支援,僅需安裝 Node.js 環境
🆕 更新日誌 可查閱這裡
這是一款實用的抖音資料採集工具,質量良好。功能全面,支援關鍵詞搜尋、博主作品抓取、評論獲取和熱榜追蹤四大核心能力。文件詳細、示例豐富,上手簡單。輸出結構清晰,附帶後設資料便於後續分析。依賴外部 API 這一點需要注意,適合對資料準確性要求不高的內容分析場景。