If you clone this repo, you will have to change the path to fmpeg, To make it easier, download it from releases
This command-line script allows you to download YouTube playlists using yt-dlp and save them as MP3 audio files on your computer. It can also update the metadata of the MP3 files using the MusicBrainz API to fetch information about the songs.
- Python 3.x installed on your system.
yt-dlpinstalled and accessible from the command line.
- Clone this repository or download the files to your computer.
- Install the dependencies by running
pip install -r requirements.txt. - Change the locations in each of the files
- Place the URLs of the YouTube playlists you want to download in a text file named
playlist_urls.txt, one per line. - Run the script
download_playlists.batto download the playlists. - Run the script
update_metadata.batto update the metadata of the MP3 files (optional, requires internet access).
- You can adjust the base download folder by modifying the
BASE_DOWNLOAD_PATHvariable in the scripts.
Contributions are welcome. If you have ideas for improvements, bug fixes, or new features, feel free to open an issue or submit a pull request.
This prohect uses Yt-dlp, go see it to https://github.com/yt-dlp/yt-dlp