Skip to content

XDGFX/spotr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spotr

Saves songs from a Spotify playlist as Deezer URLs to a file

Important note

spotr will delete all tracks from the Spotify playlist you provide it. This is so you don't get duplicate urls. Ensure you are ok with this before proceeding!

Setup

  1. Rename example-cred.py to cred.py
  2. Create a Spotify API application here
  3. Get it's Client ID and Client Secret, fill accordingly in cred.py
  4. In your API application, click Edit Settings and add http://localhost as a Redirect URI
  5. Fill your username from here
  6. Update playlist to the name of your desired Spotify playlist
  7. Update filename to the file name you want to save track URLs to

First run

Run with python3 and follow instructions to authenticate your account once

Further runs

Just run with python3

Errors

Spotr should print any errors. If a track is not being removed from your Spotify playlist, check the logs.