YTD is a CLI YouTube downloader written in Python
- python3
- pip
- ffmpeg
- yt-dlp
Installation works on (not ancient) Arch- and Debian-based systems.
-
(Recommended) To install YTD for current user
- make sure
~/.local/bin/is inPATH - run
make install. - run
ytd --helpto see how to use
- make sure
-
For development install using venv run
makesource .venv/bin/activatemake reqs./ytd.py
-
Manual Installation
- install requirements
- put
ytd.pyinPATH(e.g.cp ytd.py ~/.local/bin/ytd) - run
ytd --helpto see how to use
- Run
ytdand follow the prompts - Run
ytd <YouTube-URL>to download the mp3 of the video. Replace<YouTube-URL>with the actual URL of the YouTube video you want to download.