A simple Python CLI tool built on top of yt-dlp to download:
- Audio as MP3 (with optional thumbnail + metadata)
- Video as webm or mp4 (with optional resolution limits)
Uses questionary for interactive prompts and rich for a prettier terminal experience.
- Extracts audio as MP3
- Optional: embed thumbnail, add metadata
- Choose output folder with
-P <path>
- Downloads in webm or mp4
- Cap max height: 1080 / 720 / 480 / 360
- Merges audio + video into your chosen container
Install from requirements.txt:
richquestionary
Also needs:
yt-dlp(install via pip)
ffmpeg— must be installed and in your PATH
git clone https://github.com/karanveer-lca/py-dlp.git
cd py-dlp
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install -U yt-dlp
sudo apt update && sudo apt install -y ffmpeg
python3 main.py