- Difficulty
- Easy
- Time
- about 5 min
- Stars
- ★ 0
- Activity
- Updated this month
- License
- Not detected
- Open issues
- 0
- Got it running
- Be the first
- Looked up
- 6 h ago
Saved setup from 6 h ago
Start here
Will it work on my device?
Not sure yet
- We couldn't spot a known setup. The README below is your best guide.
Checking for
Before you start: Usage
Fully interactive (prompts for URL, format, and quality):
python ytdl.py
or on Windows, double-click-friendly:
ytdl.bat
Pass a URL and let it prompt for the rest:
python ytdl.py https://www.youtube.com/watch?v=XXXXXXXXXXX
Fully non-interactive:
python ytdl.py <url> -f mp4 -q 720p
python ytdl.py <url> -f mp3 -q 192
python ytdl.py <url> -f mp3 -q best -o D:\Music
Download an entire playlist as MP3:
python ytdl.py <playlist_url> --playlist -f mp3 -q 192
3 steps on macOS
Then run bash setup.sh. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Clone the repository
Needs Git: xcode-select --install
git clone https://github.com/kenh-zealand/youtube_cli_downloader.git cd youtube_cli_downloader
Install the required tools
Python 3
brew install python
Follow the README: Usage
In the maintainers' order. Do the README instructions above first — they cover steps outside the terminal.
python ytdl.py ytdl.bat python ytdl.py https://www.youtube.com/watch?v=XXXXXXXXXXX python ytdl.py <url> -f mp4 -q 720p python ytdl.py <url> -f mp3 -q 192 python ytdl.py <url> -f mp3 -q best -o D:\Music python ytdl.py <playlist_url> --playlist -f mp3 -q 192
Did you get it running?
No reports for macOS yet.
Still stuck? Get a written guide
Claude reads the 1 key files and writes a step-by-step guide for macOS. Once written, it's saved for everyone.