video-transcript-downloader
yt-dlp downloads: video, audio, subtitles, transcripts, clips, playlists.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 2
- Forks
- 0
01 前言 Front Matter
- name
- video-transcript-downloader
- description
- yt-dlp downloads: video, audio, subtitles, transcripts, clips, playlists.
02 资源文件 5
- 其他.gitignore51 B
- 参考文档attribution.txt184 B
- 参考文档package-lock.json677 B
- 参考文档package.json170 B
- 脚本scripts/vtd.js14.9 KB
03 SKILL.md 正文
Video Transcript Downloader
./scripts/vtd.js: print transcript (clean paragraph, timestamps optional), download video/audio/subtitles.
Transcript behavior:
- YouTube:
youtube-transcript-pluswhen possible. - Fallback: subtitles via
yt-dlp, cleaned into paragraph.
Setup
cd ~/Projects/agent-scripts/skills/video-transcript-downloader && npm ci
CLI help:
./scripts/vtd.js --help
./scripts/vtd.js transcript --help
Subcommands support focused help without --url.
Transcript (default: clean paragraph)
./scripts/vtd.js transcript --url 'https://…'
./scripts/vtd.js transcript --url 'https://…' --lang en
./scripts/vtd.js transcript --url 'https://…' --timestamps
./scripts/vtd.js transcript --url 'https://…' --keep-brackets
Download video / audio / subtitles
./scripts/vtd.js download --url 'https://…' --output-dir ~/Downloads
./scripts/vtd.js audio --url 'https://…' --output-dir ~/Downloads
./scripts/vtd.js subs --url 'https://…' --output-dir ~/Downloads --lang en
Formats
List available (format ids, resolution, container, audio-only):
./scripts/vtd.js formats --url 'https://…'
Download specific format id:
./scripts/vtd.js download --url 'https://…' --output-dir ~/Downloads -- --format 137+140
Prefer MP4 without re-encoding (remux):
./scripts/vtd.js download --url 'https://…' --output-dir ~/Downloads -- --remux-video mp4
Notes
- Default transcript: single paragraph.
--timestampsonly when asked. - Bracketed cues
[Music]stripped by default;--keep-bracketsto preserve. - Extra
yt-dlpargs after--fortranscriptfallback,download,audio,subs,formats:
./scripts/vtd.js formats --url 'https://…' -- -v
Troubleshooting
Missing yt-dlp / ffmpeg:
brew install yt-dlp ffmpeg
Verify:
yt-dlp --version
ffmpeg -version | head -n 1
04 同仓库更多 Skills
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code
workflow-from-chats
Extract preferences from agent chats → skills, rules, workflow docs. For learning preferences, mining feedback, personalizing workflows.
winui3-csharp-app
WinUI 3 / Windows App SDK desktop apps in C#/XAML. MVVM, bindings, navigation, Mica/Acrylic, windowing, packaging, performance.
why
Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.
what-did-i-get-done
Summarize authored commits over a user-specified time period into a concise status update.
weekly-review
Produce a short weekly synthesis of authored commits with highlights by bugfix, tech debt, and net-new work.