This small python script uses yt-dlp with a GUI to download videos from Youtube and convert it as an mp3 file for music backup.
The program has a minimal user interface that just asks for a Youtube link (Regular link or a playlist) and gets it all placed in your music folder (Not sure about Mac and Linux as I have not tested it yet)
- Youtube (Obviously)
- Soundcloud
- Twitter/X (Why would you do that?)
Python 3.10 was used for the program, but it is a requirement to have FFmpeg installed
There are two options to run the file, by downloading the executable in the releases tab. (For Windows users) Or run this command in terminal where you placed the executable.
python main.py
Changing the python file name from main.py
to something else can also work for ease of use when you want to use the program from time to time in command line.
- If you don't want to run the executable in windows simply place the
main.py
file inC:\Users\<USER>
and just write the same command to run it in python.
- Customtikinter for GUI.
- yt-dlp for the ability to download from links.
- PyInstaller to be able to create an executable of the python file.
As for now the program when it downloads a single youtube video it can hang for a bit until it finishes, but you can see a command line in the background to see the progress of your download.