技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
youtube-downloader【数据与研究】Download and process YouTube content for research. Use when: downloading competitor videos for analysis; extracting audio for podcasts; getting transcripts for content repurposing; archiving webinars; research content curation
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Download YouTube videos, extract audio, and get transcripts using yt-dlp - the most reliable YouTube extraction tool.
| Claude Does | You Decide |
|---|---|
| Structures production workflow | Final creative direction |
| Suggests technical approaches | Equipment and tool choices |
| Creates templates and checklists | Quality standards |
| Identifies best practices | Brand/voice decisions |
| Generates script outlines | Final script approval |
pip install yt-dlp click
# Optional for transcription:
pip install openai-whisper
python scripts/main.py download "https://youtube.com/watch?v=..." --format mp4
python scripts/main.py download "https://youtube.com/watch?v=..." --quality 1080p
python scripts/main.py audio "https://youtube.com/watch?v=..." --format mp3
python scripts/main.py audio "https://youtube.com/watch?v=..." --format wav
python scripts/main.py transcript "https://youtube.com/watch?v=..."
python scripts/main.py transcript "https://youtube.com/watch?v=..." --translate en
python scripts/main.py playlist "https://youtube.com/playlist?list=..." --limit 10
python scripts/main.py playlist "https://youtube.com/playlist?list=..." --audio-only
python scripts/main.py info "https://youtube.com/watch?v=..."
python scripts/main.py info "https://youtube.com/watch?v=..." --format json
# Get video metadata
python scripts/main.py info "https://youtube.com/watch?v=ABC123"
# Output:
# Title: How We Grew to $1M ARR
# Channel: SaaS Founder
# Duration: 15:32
# Views: 45,230
# Published: 2024-01-15
# Tags: saas, growth, startup
# Download transcript for analysis
python scripts/main.py transcript "https://youtube.com/watch?v=ABC123"
# Output: how-we-grew-to-1m-arr.txt
# Download audio only
python scripts/main.py audio "https://youtube.com/watch?v=WEBINAR" --format mp3 --quality best
# Output: webinar-title.mp3 (ready for podcast editing)
# Get transcript for show notes
python scripts/main.py transcript "https://youtube.com/watch?v=WEBINAR"
# Output: webinar-title.txt
# Download entire playlist
python scripts/main.py playlist "https://youtube.com/playlist?list=TRAINING" \
--output ./training-videos/ \
--limit 20
# Output:
# ./training-videos/
# ├── 01-introduction.mp4
# ├── 02-getting-started.mp4
# └── ...
| Option | Resolution | File Size | Use Case |
|---|---|---|---|
best | Highest available | Largest | Archival |
1080p | 1920x1080 | ~1GB/hour | Standard |
720p | 1280x720 | ~500MB/hour | Balance |
480p | 854x480 | ~250MB/hour | Mobile |
audio | N/A | ~100MB/hour | Podcasts |
| Format | Quality | Size | Compatibility |
|---|---|---|---|
mp3 | Good | Small | Universal |
m4a | Better | Medium | Apple/Modern |
wav | Lossless | Large | Editing |
opus | Best | Smallest | Modern apps |
⚠️ Important: Only download content you have rights to use.
Generally OK:
Check First:
category: automation
subcategory: content-extraction
dependencies: [yt-dlp]
difficulty: beginner
time_saved: 4+ hours/week