Skip to main content

youtube-downloader

Download YouTube videos with quality presets. Use for: download youtube, yt download, video download, youtube to whatsapp, youtube mp3.

跳到安装

来源信息

仓库
aviz85/claude-skills-library
最近来源活动
2026年1月28日 11:27
检测到的 SKILL.md 语言
英语
星标
49
分支
14

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
3 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
youtube-downloader
description
Download YouTube videos with quality presets. Use for: download youtube, yt download, video download, youtube to whatsapp, youtube mp3.
version
1.0.0
author
aviz85
tags
["youtube","video","download","media"]
setup
./SETUP.md
setup_complete
false
# YouTube Video Downloader > **First time?** If `setup_complete: false` above, run `./SETUP.md` first, then set `setup_complete: true`. Download YouTube videos with quality control, optimized for sharing on WhatsApp and other platforms. ## Requirements **This skill requires Python to be installed on your system.** - Python 3.9+ (required) - yt-dlp (`pip install yt-dlp`) - ffmpeg (for audio extraction) > **First time setup?** Read [SETUP.md](./SETUP.md) for detailed installation instructions for Windows, macOS, and Linux. ## Quick Start ```bash cd ~/.claude/skills/youtube-downloader/scripts # Download for WhatsApp (144p, small file) python download.py "https://www.youtube.com/watch?v=VIDEO_ID" --quality whatsapp # Download standard quality (480p) python download.py "https://www.youtube.com/watch?v=VIDEO_ID" --quality standard # Download high quality (720p) python download.py "https://www.youtube.com/watch?v=VIDEO_ID" --quality high # Download best quality available python download.py "https://www.youtube.com/watch?v=VIDEO_ID" --quality best # List available formats python download.py "https://www.youtube.com/watch?v=VIDEO_ID" --list ``` ## Quality Presets | Preset | Resolution | Max Size | Use Case | |--------|-----------|----------|----------| | `whatsapp` | 144p | ~10MB | WhatsApp sharing (default) | | `standard` | 480p | ~50MB | General use | | `high` | 720p | ~100MB | Good quality | | `best` | Best available | Varies | Maximum quality | ## Options | Option | Description | |--------|-------------| | `--quality` / `-q` | Quality preset (whatsapp/standard/high/best) | | `--output` / `-o` | Output directory (default: current dir) | | `--list` / `-l` | List available formats without downloading | | `--audio-only` / `-a` | Extract audio only (MP3) | ## Examples ```bash # Download and send to WhatsApp python download.py "https://youtube.com/watch?v=xxx" -q whatsapp # Then use WhatsApp skill to send # Download to specific folder python download.py "https://youtube.com/watch?v=xxx" -o ~/Downloads # Audio only (for podcasts/music) python download.py "https://youtube.com/watch?v=xxx" --audio-only ``` ## WhatsApp Size Limits - **16MB**: Direct video sharing limit - **2GB**: Document sharing limit (preserves quality) For videos over 16MB, either: 1. Use lower quality preset 2. Send as document (not video)
在 GitHub 查看