运行时依赖
无特殊依赖
安装命令 点击复制
官方clawhub install youtube-transcript
镜像加速clawhub install youtube-transcript --registry https://www.longxiaskill.com
技能文档
Fetch transcripts from YouTube videos and optionally summarize them.
Quick Start
python3 scripts/fetch_transcript.py [languages]
Examples:
python3 scripts/fetch_transcript.py dQw4w9WgXcQ
python3 scripts/fetch_transcript.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ"
python3 scripts/fetch_transcript.py dQw4w9WgXcQ "fr,en,de"
Output: JSON with video_id, title, author, full_text, and timestamped transcript array.
Workflow
- Run
fetch_transcript.pywith video ID or URL - Script checks VPN, brings it up if needed
- Returns JSON with full transcript text
- Summarize the
full_textfield as needed
Language Codes
Default priority: en, fr, de, es, it, pt, nl
Override with second argument: python3 scripts/fetch_transcript.py VIDEO_ID "ja,ko,zh"
Setup & Configuration
See references/SETUP.md for:
- Python dependencies installation
- WireGuard VPN configuration (required for cloud VPS)
- Troubleshooting common errors
- Alternative proxy options
数据来源:ClawHub ↗ · 中文优化:龙虾技能库
OpenClaw 技能定制 / 插件定制 / 私有工作流定制
免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制