返回顶部
🇺🇸 English
🇨🇳 简体中文
🇨🇳 繁體中文
🇺🇸 English
🇯🇵 日本語
🇰🇷 한국어
🇫🇷 Français
🇩🇪 Deutsch
🇪🇸 Español
🇷🇺 Русский
y

youtube-transcript-generator

Download and generate clean, readable transcripts from any YouTube video. Extracts subtitles (auto-generated or manual), removes timestamps and formatting, and outputs a clean paragraph-style transcript. Use when asked to transcribe, get transcript, or extract text from a YouTube video.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
393
下载量
0
收藏
概述
安装方式
版本历史

youtube-transcript-generator

# YouTube Transcript Generator Download clean transcripts from any YouTube video URL. ## Requirements - `yt-dlp` must be installed (`brew install yt-dlp` or `pip install yt-dlp`) ## Usage Run the bundled script with a YouTube URL: ```bash bash scripts/get_transcript.sh "https://www.youtube.com/watch?v=VIDEO_ID" ``` The script will: 1. Try to download English manual subtitles first 2. Fall back to auto-generated English subtitles 3. Try all available languages if English is unavailable 4. Clean the raw subtitle file into readable paragraphs 5. Output the transcript to stdout and save to `transcript_VIDEO_ID.txt` ## Options ```bash # Save to a specific file bash scripts/get_transcript.sh "URL" output.txt # Get transcript WITH timestamps (default: without) bash scripts/get_transcript.sh "URL" output.txt en timestamps # Get transcript in a specific language bash scripts/get_transcript.sh "URL" output.txt fr ``` ## How It Works 1. `yt-dlp` downloads the subtitle track (VTT/SRT format) 2. The script strips HTML tags and duplicate lines 3. **Without timestamps (default):** merges into clean, readable paragraphs 4. **With timestamps:** preserves `[HH:MM:SS]` markers before each line for easy reference ## Example Output Input: `https://www.youtube.com/watch?v=HMTxOecbyPg` Output: ``` How OpenClaw Runs My Entire Business. I record a podcast episode and that is literally the only thing I do. Everything else is handled by 13 AI agents running on a Mac Mini in my office... ``` ## Troubleshooting - **No subtitles found**: Not all videos have subtitles. The script will report which languages are available. - **yt-dlp not found**: Install with `brew install yt-dlp` (macOS) or `pip install yt-dlp`. - **Rate limited**: Wait a moment and retry. YouTube occasionally throttles subtitle requests. ## Links - Full guides and templates: [OpenClaw Lab](https://openclawlab.xyz) - Free OpenClaw installer: [installopenclawnow.com](https://installopenclawnow.com) - Community: [OpenClaw Lab on Skool](https://www.skool.com/openclaw-lab)

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 youtube-transcript-generator-1776278660 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 youtube-transcript-generator-1776278660 技能

通过命令行安装

skillhub install youtube-transcript-generator-1776278660

下载 Zip 包

⬇ 下载 youtube-transcript-generator v1.0.0

文件大小: 3.95 KB | 发布时间: 2026-4-16 18:14

v1.0.0 最新 2026-4-16 18:14
Initial release. Download clean transcripts from any YouTube video with optional timestamps.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部