spotify-playlist-exporter is a Go script that uses goroutines and waitgroups that converts a Spotify playlist into a .csv file.
Below are the inputs/outputs to this script:
playlistUrls: A slice of strings. These strings are Spotify playlist urls.
Example: If you wanted to choose
Jazz in the Backgroundplaylist, this would be the link you would enter in the playlistUrls variable: https://open.spotify.com/playlist/37i9dQZF1DWV7EzJMK2FUI?si=2dc14fb0f2c64435
.envfile: on the Spotify Developer Dashboard, create a new app. Give it whatever name you'd like, and note theclient idandclient secretgiven to you by the dashboard - these will be needed to run the script. Create an.envfile at the root of this repository. In this file, add these 2 environment variables:
CLIENT_ID="<YOUR_CLIENT_ID_HERE>" CLIENT_SECRET="<YOUR_CLIENT_SECRET_HERE>"
./exports/<TIMESTAMP>/<PLAYLIST_NAME>.csv: .csv files that contain important information about the playlist's tracks such as:- Name
- Artists
- Album Name
- Duration
Example: These are the songs on
Jazz in the Backgroundplaylist in the exported .csv file

This is the same file but in a more user friendly presentation:

Documentation of spotify-playlist-exporter can be found here: https://github.com/espitiaandres/spotify-playlist-exporter/blob/main/README.md
If you find any bugs or have any suggestions to spotify-playlist-exporter, submit them in the issues tab in the Github repo. This can be found here: https://github.com/espitiaandres/spotify-playlist-exporter/issues
Distributed under the terms of the MIT license, spotify-playlist-exporter is free and open source software.