a Python-based YouTube video downloader with a GUI and command-line interface that makes use of Pytube3 and FFMPEG. capable of downloading mp3s, playlists, and high definition videos.
cd to project folder and paste the line below to your terminal
pip install -r requirements.txt
If you are not a linux user skip the line below
For Linux users run this command after install the requirements (remove ffmpeg.exe which is for window os)
rm ffmpeg.exe
sudo apt install ffmpeg
cd to folder project and compile YTDL.py for GUI version or YTDLConsole.py for command-line version (command-lnie is not updated)
pip install pyinstaller
cd to project folder
for console version
pyinstaller --console --onefile -i logo.ico YTDLConsole.py
for gui version
https://github.com/TomSchimansky/CustomTkinter/wiki/Packaging
pyinstaller --noconfirm --onedir --windowed --noconsole --add-data "CustomTkinter Location/customtkinter;customtkinter/" -i download.ico "ytdl.py"
then add "Assets folder and ffmpeg to the folder that has exe"