A useful youtube-dl wrapper to download music
Install the yt-dlp and music_tag packages:
pip3 install yt-dlp
pip3 install music_tagSpecify the songs to download. This is done using a csv file with these columns:
urlartisttitlealbum
The columns are separated with a "|" and the first line of the file must be like this:
url|artist|title|album
The album column can be empty (but you have to keep the | at the end). See example.csv for an example.
You then run the script like this:
python3 download.py <filename>The downloaded files are automatically converted to OGG/Vorbis and tagged properly.