Skip to content

myNameArnav/spex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Playlist EXporter AKA Spex

This script allows you to export your Spotify playlists as CSV files, including the track name, artist, album, and URL.

Setup

  1. Clone or download this repository to your local machine.

  2. (Optional) Make virtual environment

  3. Install the required dependencies by running the following command: pip install -r requirements.txt

  4. Obtain Spotify API credentials:

  5. Rename a file named config.py.sample to config.py in the project directory.

  6. Open config.py and add the following content, replacing the placeholder values with your actual Spotify API credentials

Usage

  1. Run the script using the following command: python main.py

  2. The script will prompt you to authorize the application by visiting the provided authorization URL.

  3. After authorizing the application, you will be redirected to the specified Redirect URI. Copy the authorization code from the URL. (ie the part after ?code=)

  4. Paste the authorization code into the script's prompt.

  5. The script will fetch your playlists and save each playlist as a separate CSV file in the backup folder.

  6. The CSV files will contain the track name, artist, album, and URL for each song in the playlist.

(Thanks GPT3.5)

About

Saves spotify song URL's in a CSV

Resources

Stars

Watchers

Forks

Languages