Commit beb91d1
committed
feat(download): add yt-dlp integration for video/audio/subtitle downloads
- Add new download.py module with yt-dlp wrapper for YouTube, TikTok, Twitter, and 1000+ sites
- Implement URL validation and metadata extraction with error handling for private, geo-restricted, and age-restricted content
- Add interactive CLI for format selection, quality preferences, and output customization
- Support video, audio, subtitle, and thumbnail downloads with progress tracking
- Include platform-specific yt-dlp installation instructions (macOS, Windows, Linux)
- Add yt-dlp as optional dependency in pyproject.toml and requirements.txt
- Integrate download feature into main peg_this CLI menu
- Enables users to download and process content from multiple platforms before applying other features1 parent 56c71b2 commit beb91d1
File tree
4 files changed
+1115
-0
lines changed- src/peg_this
- features
4 files changed
+1115
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
0 commit comments