A Python 3 script that exports all of your Spotify playlists.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
Chase Hall edd9fc3a0e Add '.github/FUNDING.yml' il y a 1 mois
.github Add '.github/FUNDING.yml' il y a 1 mois
README.md Gitlab Mirror. il y a 3 mois
spotify-backup.py Upload files to '' il y a 3 mois
xspf.py Upload files to '' il y a 3 mois



A Python 3 script that exports all of your Spotify playlists, useful for paranoid Spotify users like me, afraid that one day Spotify will go under and take all of our playlists with it!

Run the script, and double-click it. It'll ask you for a filename and then pop open a web page so you can authorize access to the Spotify API. Then the script will load your datas. You can have a tab-separated file with your playlists that you can open in Excel using --format txt, so you can even copy-paste the rows from Excel into a Spotify playlist.

You can also run the script directly:

python spotify-backup.py data.json

If for some reason the browser-based authorization flow doesn't work, you can also generate an OAuth token on the developer site (with user-follow-read user-library-read playlist-read-private playlist-read-collaborative permissions) and pass it with the --token option.