Download YouTube videos with customizable quality and format options. Use this skill when the user asks to download, save, or grab YouTube videos. Supports vari
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-video-downloader-0df00c8c9eb7 ,按照其中的说明把「youtube-downloader」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Download YouTube videos with full control over quality and format settings.
The simplest way to download a video:
python scripts/download_video.py "https://www.youtube.com/watch?v=VIDEO_ID"
This downloads the video in best available quality as MP4 to /mnt/user-data/outputs/.
Use -q or --quality to specify video quality:
best (default): Highest quality available1080p: Full HD720p: HD480p: Standard definition360p: Lower qualityworst: Lowest quality availableExample:
python scripts/download_video.py "URL" -q 720p
Use -f or --format to specify output format (video downloads only):
mp4 (default): Most compatiblewebm: Modern formatmkv: Matroska containerExample:
python scripts/download_video.py "URL" -f webm
Use -a or --audio-only to download only audio as MP3:
python scripts/download_video.py "URL" -a
Use -o or --output to specify a different output directory:
python scripts/download_video.py "URL" -o /path/to/directory
python scripts/download_video.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ" -q 1080p
python scripts/download_video.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ" -a
python scripts/download_video.py "https://www.youtube.com/watch?v=dQw4w9WgXcQ" -q 720p -f webm -o /custom/path
The skill uses yt-dlp, a robust YouTube downloader that:
/mnt/user-data/outputs/ by default