This is a simple YouTube video downloader built using yt-dlp
, It allows you to download the best available video and audio for a given YouTube URL.
- Downloads videos in the best available format (video and audio).
- Saves videos in the
downloads/
directory. - Logs all activity to a file (
video_downloader.log
).
- Python 3.10
ffmpeg
installed and configured in your system's path.
- Clone the repository (or download the script):
git clone https://github.com/FreeProjectHub/Youtube-Video-Downloader cd Youtube-Video-Downloader
- Install ffmpeg and set its path
https://www.youtube.com/watch?v=22vmzTs5BoE
- Install required packages
pip install -r requirements.txt
- Run and Enjoy
python main.py