Skip to content
Snippets Groups Projects
Commit 67c535bb authored by Robert Goldmann's avatar Robert Goldmann
Browse files

use port for automatic oauth token retrieval

parent 6cb3b5b3
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ LOGGER = DefaultLogger().create_logger_if_not_exists('SpotifyBackup', logFormat= ...@@ -13,7 +13,7 @@ LOGGER = DefaultLogger().create_logger_if_not_exists('SpotifyBackup', logFormat=
class SpotifyImport: class SpotifyImport:
def __init__(self, clientID: str): 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') scope='playlist-modify-private')
self._spotify = spotipy.Spotify(client_credentials_manager=client_credentials_manager) self._spotify = spotipy.Spotify(client_credentials_manager=client_credentials_manager)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment