Very simple python script that downloads music from youtube from a list of URLs using ytdlp.
Simply add the youtube links to the links.txt
file (one link per line) and execute the python script (downloadFromFile.py
). The mp3 should be downloaded in a new created folder called music
.
This script uses the ytdlp package. To install it, run the following program (using pip
):
pip install yt_dlp
This script also uses ffmpeg. To install it, run the following command (with apt
):
sudo apt install ffmpeg