Note: Before using this script, you'll need to create an app at Spotify’s developer site and get a client_id
and client_secret
.
- python2+
- virtualenv
> virtualenv env
> source ./env/bin/activate
> pip install requirements.txt
python spotify_cover_downloader.py --client_id xxxx --client_secret xxxx --directory ~/Downloads spotify:track:1kGb78PHGlylL7s9Nw79Si
This scripts supports song links and Spotify URI (
https://open.spotify.com/track/5YzBL3vkQnp3JbeDRRSbSQ?si=NbpHIuJcR_SMjHbD_rv9LA
orspotify:track:5YzBL3vkQnp3JbeDRRSbSQ
)
You can also hardcode your
client_id
andclient_secret
if you don't want to pass it as a parameter