Skip to content

Takes in a CSV of (song name, artist) pairs and grabs what information Spotify has on them along with the lyrics through Genius

License

Notifications You must be signed in to change notification settings

Jack-Anstey/Spotify-Scraper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Scraper

This program takes an input of songs and artists and returns tons of interesting statistics about them and its lyrics.

How This Works

Utilizing the Spotify API, an song artist pair get's the associated track ID, where Spotify hosts a ton of interesting statistics about tracks and Genius hosts the lyrics for said song artist pair. These values are then gathered and then manipulated so that they are dumped into a csv file, which can then be used for any purpose, including but not limited to data analysis.

How To Use

Have a .csv in the same folder as this code entiled input.csv with the same columns labled song and artist respectively. Input your SPOTIPY_CLIENT_ID and SPOTIPY_CLIENT_SECRET in secrets.py, and then run! A file output.csv will be created when finished that will contain tons of interesting information about the songs that you requested.

About

Takes in a CSV of (song name, artist) pairs and grabs what information Spotify has on them along with the lyrics through Genius

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages