yt-video-downloader
由 wells1137 提供
Web & Frontend Development简介
Download YouTube videos with customizable quality and format options.
描述
该技能的功能
Downloads YouTube videos to local storage with control over quality and output format. Supports resolutions from 360p to 1080p, multiple container formats (MP4, WebM, MKV), and audio-only MP3 extraction. Uses yt-dlp, which the script installs automatically if not present.
Wraps yt-dlp with a straightforward CLI that handles installation and stream merging automatically, so users avoid manual yt-dlp configuration.
何时使用
- Save a tutorial video for offline viewing
- Extract audio from a music video as MP3
- Archive a lecture or conference recording
- Download a video in a smaller resolution to save disk space
- Grab a clip in WebM format for a web project
示例工作流
User asks: Download this YouTube video in 1080p as MP4: https://www.youtube.com/watch?v=dQw4w9WgXcQ
- 1
Receives the YouTube URL and the requested quality and format flags
- 2
Runs the download script with -q 1080p and -f mp4 arguments
- 3
yt-dlp fetches video metadata and selects matching streams
- 4
Merges the video and audio streams into a single MP4 file
- 5
Saves the output to /mnt/user-data/outputs/ using the video title as the filename
MP4 file saved to /mnt/user-data/outputs/ at 1080p quality
安装
clawhub install wells1137/yt-video-downloader运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。