{"id":"8e79a9b7-e006-4e9e-9843-14df4fc71a87","slug":"clawhub-afeicn-douyin-video-to-txt","name":"Douyin Video To Txt","description":"抖音视频转文本知识库 — Download Douyin videos, transcribe to text via faster-whisper, save to Obsidian knowledge base.","canonicalUrl":"https://www.xpersona.co/agent/clawhub-afeicn-douyin-video-to-txt","sourceUrl":"https://clawhub.ai/afeicn/douyin-video-to-txt","homepage":"https://clawhub.ai/afeicn/skills/douyin-video-to-txt","source":"CLAWHUB","vendor":{"slug":"clawhub","label":"Clawhub","url":"https://clawhub.ai/afeicn/skills/douyin-video-to-txt"},"protocols":["OPENCLEW"],"capabilities":[],"trustScore":null,"trustConfidence":"unknown","artifactCount":0,"benchmarkCount":0,"lastRelease":"1.0.1","freshnessAt":"2026-10-11T20:43:22.979Z","freshnessLabel":"Oct 11, 2026","securityReviewed":true,"openapiReady":false,"stats":[{"label":"Trust score","value":"Unknown"},{"label":"Compatibility","value":"OpenClaw"},{"label":"Freshness","value":"Oct 11, 2026"},{"label":"Vendor","value":"Clawhub"},{"label":"Artifacts","value":"0"},{"label":"Benchmarks","value":"0"},{"label":"Last release","value":"1.0.1"}],"factsPreview":[{"factKey":"vendor","category":"vendor","label":"Vendor","value":"Clawhub","href":"https://clawhub.ai/afeicn/skills/douyin-video-to-txt","sourceUrl":"https://clawhub.ai/afeicn/skills/douyin-video-to-txt","sourceType":"profile","confidence":"medium","observedAt":"2026-10-11T20:43:23.051Z","isPublic":true},{"factKey":"protocols","category":"compatibility","label":"Protocol compatibility","value":"OpenClaw","href":"https://www.xpersona.co/api/v1/agents/clawhub-afeicn-douyin-video-to-txt/contract","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-afeicn-douyin-video-to-txt/contract","sourceType":"contract","confidence":"medium","observedAt":"2026-10-11T20:43:23.051Z","isPublic":true},{"factKey":"traction","category":"adoption","label":"Adoption signal","value":"995 downloads","href":"https://clawhub.ai/afeicn/douyin-video-to-txt","sourceUrl":"https://clawhub.ai/afeicn/douyin-video-to-txt","sourceType":"profile","confidence":"medium","observedAt":"2026-10-11T20:43:23.051Z","isPublic":true},{"factKey":"latest_release","category":"release","label":"Latest release","value":"1.0.1","href":"https://clawhub.ai/afeicn/douyin-video-to-txt","sourceUrl":"https://clawhub.ai/afeicn/douyin-video-to-txt","sourceType":"release","confidence":"medium","observedAt":"2026-07-10T06:25:30.731Z","isPublic":true},{"factKey":"handshake_status","category":"security","label":"Handshake status","value":"UNKNOWN","href":"https://www.xpersona.co/api/v1/agents/clawhub-afeicn-douyin-video-to-txt/trust","sourceUrl":"https://www.xpersona.co/api/v1/agents/clawhub-afeicn-douyin-video-to-txt/trust","sourceType":"trust","confidence":"medium","observedAt":null,"isPublic":true}],"highlights":["995 downloads","Trust evidence available"],"agentCard":{"name":"Douyin Video To Txt","description":"抖音视频转文本知识库 — Download Douyin videos, transcribe to text via faster-whisper, save to Obsidian knowledge base.","source":"CLAWHUB","sourceId":"clawhub:s1764p5yr71a3nnatyxkt1pnhh86p8vm:douyin-video-to-txt","homepage":"https://clawhub.ai/afeicn/skills/douyin-video-to-txt","repository":"https://clawhub.ai/afeicn/douyin-video-to-txt","documentation":"https://www.xpersona.co/agent/clawhub-afeicn-douyin-video-to-txt","protocols":["OPENCLEW"],"examples":[{"kind":"example","language":"text","snippet":"[Phase 1 — transcribe.py]"},{"kind":"example","language":"text","snippet":"## 前置依赖\n\n| 工具 | 状态 |\n|------|------|\n| ffmpeg | ✅ 已装 |\n| yt-dlp | ✅ 已装（⚠️ Douyin extractor 可能因反爬升级失效） |\n| faster-whisper (Python) | ✅ 已装 (model: base) |\n\n## 备用方案：第三方下载服务（当 yt-dlp Douyin extractor 失效时）\n\n当 yt-dlp 持续报 \"Fresh cookies are needed\" 且更新后仍无效时，使用第三方抖音下载器代替 yt-dlp 下载音频。\n\n### 推荐服务\n\n| 服务 | 网址 | 成功率 | 说明 |\n|------|------|--------|------|\n| SaveTik | https://en.savetik.co/ | ⭐⭐⭐ | 可直接下载 MP3，部分视频可能找不到 |\n| Seekin.ai | https://www.seekin.ai/douyin-downloader/ | ⭐⭐⭐⭐ | 支持多分辨率（540p~8K），下载链接需在浏览器中捕获 |\n\n### 浏览器工作流\n\n1. **导航到下载服务网站**：用 browser_navigate 打开上述服务\n2. **粘贴抖音链接**：将抖音短链接粘贴到输入框（browser_type）\n3. **提交获取结果**：点击 Download Now / Get 按钮\n4. **捕获下载链接**：\n   - 如果服务直接提供 MP3 下载（SaveTik），用终端 curl/wget 下载\n   - 如果服务提供多分辨率选项（Seekin），**点击 Download 按钮后浏览器可能直接导航到原始 MP4 文件 URL**（URL 以 `v13-default.365yg.com/...video...mp4?` 等格式出现）。直接在当前页用 `curl -L -o /tmp/video.mp4 \"<current_url>\"` 下载，然后 `browser_back()` 回下载页\n   - 尝试通过浏览器控制台拦截 API 响应或检查 DOM 中的下载链接\n5. **手动下载（兜底）**：如果浏览器无法捕获下载链接，告诉用户去哪个服务手动下载，获取文件路径后再进行 Whisper 转写\n\n> 详情见 `references/douyin-downloader-workarounds.md`\n\n### 浏览器工作流常见坑（browser_click 对 Vue/React 按钮无效）\n\n当使用 Seekin.ai 等 SPA 网站下载时，`browser_click()` 经常无法触发按钮事件。这是因为这类网站的按钮用框架事件绑定而不是原生 DOM 事件。如果点击后页面无变化：\n\n1. **不要重复点** — 按钮可能已触发但 `browser_snapshot()` 感知不到变化\n2. 改用 `browser_console()` 执行 JS："}]}}