You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A script in Python 3 that when provided with a user's credentials, as well as a date all the way back till 04/08/1958, will scrap Billboard's Hot 100(https://www.billboard.com/charts/hot-100/) and save the song in a txt file, 'top_songs.txt'. It will then save these songs in a spotify playlist in the format "Billboard Top 100: YY-MM-DD". You will be prompted to enter urls in the format of https://example.com/{KEY} which will be opened on your browser. Just copy and paste it in the terminal window.
Getting Started
Dependencies
BeautifulSoup 4, Spotipy
Executing program
Just run the .py file and the script should start.
Help
Edit the main.py file and insert your client secret and id values in the fields in the code. Can be found @ https://developer.spotify.com/dashboard. You need to create an app after logging into developer.spotify, and then enter the two values displayed under client secret and client id.
Make sure to include a redirect url in your developer app, for e.g. https://example.com.