A simple, interactive, and user-friendly Python script to download YouTube videos and playlists as videos (MP4), audios (MP3), or with advanced custom options. This project wraps the powerful yt-dlp tool into a clean terminal interface, so you don't need to remember or type long yt-dlp commands.
- Download YouTube videos as MP4, MP3, or with advanced custom options.
- Aria2c multi-connection parallel downloading it can fetch different parts of the same file from multiple connections at once—far faster than the single-threaded default in yt-dlp
- Interactive, menu-driven terminal UI — no need to type long yt-dlp commands.
- Batch downloads for playlists or multiple videos.
- Custom output formats, quality, and more.
- Easy to use: Just run and follow the prompts.
- Windows (Batch scripts provided; works on other OS with minor adjustments)
- Python 3.7+ -Aria2c
- FFmpeg (for audio/video conversion, merging, etc.)
- yt-dlp (will be installed automatically)
- Internet access
-
setup.bat:
Just double-clicksetup.batto:- Automatically install Python dependencies
- Download and install yt-dlp
- install FFmpeg
- install Aria2c
- Prepare everything for you
Note: You may need to run the Setup.bat more then 3 times for complete installation.
-
run.bat:
Double-click to launch the downloader with one click.
You can control where your downloads and configuration file are stored by using .env file.
# Base directory for all downloads and config
# Comment this out to use the defaults under your home directory
DOWNLOAD_PATH=C:\Users\YourUser\MyDownloads - Download and install Python 3.7 or newer from python.org/downloads.
- During installation, check the box "Add Python to PATH".
FFmpeg is required for video/audio processing.
-choose a build gyan.dev builds
- Download the latest release full build as a ZIP file.
- Extract the ZIP file (e.g., to C:\ffmpeg).
- Inside the extracted folder, locate the bin directory (e.g., C:\ffmpeg\bin).
- Add C:\ffmpeg\bin to your Windows PATH:
- Press Win + S, type "Environment Variables", and select "Edit the system environment variables".
- Click "Environment Variables".
- Under "System variables", select "Path" and click "Edit".
- Click "New" and add the path to your FFmpeg bin folder (e.g., C:\ffmpeg\bin).
- Click OK on all dialogs.
- Verify installation:
- Open a new terminal/command prompt and run:
ffmpeg -version - If you see version info, you're set!
- Open a new terminal/command prompt and run:
aria2c is an optional but highly recommended downloader that can significantly speed up downloads by using multiple connections. The main.py script will automatically use it if found in your PATH.
- Go to the aria2 GitHub Releases page.
- Find the latest release and download the Windows 64-bit build (e.g., aria2-1.37.0-win-64bit-build1.zip).
- Extract the ZIP file to a permanent location (e.g., C:\Program Files\aria2).
- The folder should contain aria2c.exe.
- Add the folder (e.g., C:\Program Files\aria2) to your Windows PATH:
- Press Win + S, type "Environment Variables", and select "Edit the system environment variables".
- Click "Environment Variables".
- Under "System variables", select "Path" and click "Edit".
- Click "New" and add the path to your aria2 folder (e.g., C:\Program Files\aria2).
- Click OK on all dialogs.
- Verify installation:
- Open a new terminal/command prompt and run:
aria2c --version - If you see version info, it's installed correctly.
- Open a new terminal/command prompt and run:
- Open a terminal/command prompt in the project folder.
- Run:
This will install
pip install -r requirements.txtyt-dlpand any other dependencies.
-
Windows:
- Double-click
run.bator run in terminal:python main.py
- Double-click
-
Linux/macOS:
- Run:
python3 main.py
- Run:
- Launch the downloader:
- Run
run.bator executepython main.py.
- Run
- Follow the on-screen prompts:
- Enter the YouTube link(s), select output format (video/audio), quality, and other options.
- Wait for download and processing to complete.
- Your files will be saved in the specified output directory.
--
-
FFmpeg not found error:
Ensure FFmpeg is installed and thebinfolder is in your PATH. Close and reopen your terminal after adding to PATH. -
yt-dlp not found:
Make surepip install -r requirements.txtran successfully. -
Permission errors:
Try running your terminal as administrator. -
Still stuck?
Open an issue on GitHub Issues.
This project is licensed under the MIT License.