diff --git a/main.py b/main.py index a7244cf..0c53dec 100644 --- a/main.py +++ b/main.py @@ -86,7 +86,7 @@ def update_spotify_from_export(): print(f'Spotify tracks: {len(spotify_links)}') scope = "playlist-modify-private" - os.environ['SPOTIPY_REDIRECT_URI'] = 'https://example.com/callback' + os.environ['SPOTIPY_REDIRECT_URI'] = 'http://127.0.0.1:9090' sp = spotipy.Spotify(auth_manager=SpotifyOAuth(scope=scope)) sp.playlist(SPOTIFY_PLAYLIST_ID)