Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 588 Bytes

File metadata and controls

17 lines (12 loc) · 588 Bytes

spotify-scrubber

Algorithm to create a new, clean version of a Spotify playlist by replacing all explicit songs with their clean versions, if available.

To create a new clean version of an existing Spotify playlist, update the environment variables in scrubber.py with your own Spotify Developer credentials

os.environ["SPOTIPY_CLIENT_ID"] = "client id"
os.environ["SPOTIPY_CLIENT_SECRET"] = "client secret"
os.environ["SPOTIPY_REDIRECT_URI"] = "redirect url"

then run

python scrubber.py -n <playlist-name>