This repository allows you to scrape the top songs of any publicly-accessible artist.
- Get an API key from the genius.com API
- Create an .env file
- Add your API key into the .env file like so:
GENIUS_API_KEY=YOUR_API_KEY
- Add the names of the artists you wish to grab lyrics for in the
artist
array - Run
python scraper.py
in your terminal - Sit back and relax
- Boom! You will have the lyrics stored in the
data/input.txt