diff --git a/ByeAds.py b/ByeAds.py index c041d47..b7ec889 100644 --- a/ByeAds.py +++ b/ByeAds.py @@ -43,7 +43,7 @@ def restartSpotify(): spotifyClientID = "#EnterClientIDHere" spotifyClientSecret = "#EnterClientSecretHere" spotifyAccessScope = "user-read-currently-playing user-modify-playback-state" -spotifyRedirectURI = "http://google.com/" +spotifyRedirectURI = "https://www.google.com/" def setupSpotifyObject(username, scope, clientID, clientSecret, redirectURI): token = util.prompt_for_user_token(username, scope, clientID, clientSecret, redirectURI) diff --git a/README.md b/README.md index 0a7910e..3d9f944 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,6 @@ When an ad is detected, the program restarts Spotify by the os module and plays ## Setting up the Spotify API 1. Go to https://developer.spotify.com/dashboard and sign in with your Spotify account. 2. Click on the 'CREATE AN APP' option and provide an app name and app description as you'd like. -3. Go to 'EDIT SETTINGS' and **exactly** fill in the Redirect URIs placeholder with https://google.com/, and click on Save. +3. Go to 'EDIT SETTINGS' and **exactly** fill in the Redirect URIs placeholder with https://www.google.com/, and click on Save. 4. Copy the Client ID and Client Secret and paste it in the corresponding place holders in ByeAds.py.