A simple Python script that downloads all the songs from a Spotify playlist.
To get the m3u8 file, visit Spotify to m3u8. https://lukasticky.gitlab.io/spotify-to-m3u/
Ensure you have Python installed. Create a virtual environment and install the necessary dependencies.
-
Set up the virtual environment:
python3 -m venv env
-
Activate the virtual environment:
-
macOS:
source env/bin/activate
-
Windows:
.\env\Scripts\activate
-
-
Install the required packages:
pip install -r requirements.txt
-
Open the script:
Edit
music_download.py
to update the file path (output and also m3u8) and insert your Last.fm API key.
Run the script:
python music_download.py
i hope you like it :)