Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 750 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 750 Bytes

SpotifyBaysTop40Importer

Import Bay's top 40 list

This application scrapes the bay's Top 40 list and adds them to a spotify playlist of your choice

You will need to install:

  • pip install spotipy (Client that accesses spotify)
  • pip install bs4 (HTML scaper)

Setup

Replace these variables:

  • client_id = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
  • client_secret = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
  • redirect_uri = 'http://localhost:8080'
  • playlistName = 'Top 40'

Remember to get the client_id and client_secret you will need to register here: https://developer.spotify.com/dashboard/applications

The client_id and the client_secret are passed as arguments to the application constructor and are set in the launch.json file