Python script to export Spotify playlists to CSV files.
-
Create an app on the Spotify developer portal. The redirect URI is not needed here, so let's use something like
http://localhost:3000
. -
Go to settings to grab the Client ID and the Client Secret, then put them into a
.env
file:# .env file CLIENT_ID=... CLIENT_SECRET=...
-
Run the script
python ./spotify_export.py "<playlist_url>"