首页龙虾技能列表 › YouTube Transcript — 视频字幕提取

YouTube Transcript — 视频字幕提取

v1.0.1

一键获取并总结 YouTube 视频字幕,支持住宅代理绕过云 IP 封锁,快速提炼内容要点。

21· 19,100·0 当前·0 累计

运行时依赖

无特殊依赖

安装命令 点击复制

官方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.py with video ID or URL
  • Script checks VPN, brings it up if needed
  • Returns JSON with full transcript text
  • Summarize the full_text field 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 技能定制 / 插件定制 / 私有工作流定制

免费技能或插件可能存在安全风险,如需更匹配、更安全的方案,建议联系付费定制

了解定制服务