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 --help
to see how to use
- make sure
-
For development install using venv run
make
source .venv/bin/activate
make reqs
./ytd.py
-
Manual Installation
- install requirements
- put
ytd.py
inPATH
(e.g.cp ytd.py ~/.local/bin/ytd
) - run
ytd --help
to see how to use
- Run
ytd
and 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.