From 67c535bb17ed0c30db835af69605067a6b7ab8e3 Mon Sep 17 00:00:00 2001 From: Robert Goldmann <deadlocker@gmx.de> Date: Wed, 9 Jun 2021 23:20:54 +0200 Subject: [PATCH] use port for automatic oauth token retrieval --- SpotifyImport.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpotifyImport.py b/SpotifyImport.py index adfd034..3c5fb71 100644 --- a/SpotifyImport.py +++ b/SpotifyImport.py @@ -13,7 +13,7 @@ LOGGER = DefaultLogger().create_logger_if_not_exists('SpotifyBackup', logFormat= class SpotifyImport: def __init__(self, clientID: str): - client_credentials_manager = SpotifyPKCE(client_id=clientID, redirect_uri='http://localhost', + client_credentials_manager = SpotifyPKCE(client_id=clientID, redirect_uri='http://localhost:8080', scope='playlist-modify-private') self._spotify = spotipy.Spotify(client_credentials_manager=client_credentials_manager) -- GitLab