From Playlist ID:
python3 main.py -p PLAYLIST_SPOTIFY_ID -i CLIENT_ID -s CLIENT_SECRET [-d OUTPUT_DIRECTORY]
From Playlist URI:
python3 main.py -u PLAYLIST_SPOTIFY_URI -i CLIENT_ID -s CLIENT_SECRET [-d OUTPUT_DIRECTORY]
python3 main.py -p 0AFu117j8WX2auNWDAyMMV -i $CLIENT_ID -s $CLIENT_SECRET -d playlist_id_example_output
python3 main.py -u spotify:playlist:0AFu117j8WX2auNWDAyMMV -i $CLIENT_ID -s $CLIENT_SECRET -d uri_example_output
Result:
You can visit the official page (https://developer.spotify.com/documentation/general/guides/authorization-guide/) or follow these instructions:
-
Visit and log into: https://developer.spotify.com/dashboard/applications
-
Create a test application and get the "Client ID" and "Client Secret" values. Use them with the paramaters "-i" and "-s"
apt install ffmpeg
pip3 install -r requirements.txt
Only working with Python 3.x (tested using 3.8.1).