Table of Contents
Download YouTube Music songs / videos with artist, title, & album cover tagging. Tags album name as title which can be incorrect but man's too lazy. Downloads & creates audio (mp3) thumbnail via yt-dlp & FFmpeg, creates ID3 tags via mutagen. Filenames are standardised in the following order: "artist1 x artist2 - song".
Known limitations:
- Standardising works via regex, & regex splits artist & song name via "artist - song" (excluding YouTube Music songs).
- Doesn't standardise certain title names (eg artist - song [music video]). Fixed by updating the regex but man's too lazy.
prod by blvnk.
- Download FFmpeg & Python3
- Clone this repo:
git clone https://github.com/adoreblvnk/YT_music_dl.git
- [Optional] Create & activate virtual environment
python3 -m venv venv && source venv/bin/activate
- Install dependencies
python3 -m pip install -r requirements.txt
- In
main.py
, edit the constantsFOLDER
(folder where songs are downloaded to) &URLS
(list of YouTube URLS or a playlist). - Run the script
python3 main.py