https://github.com/ssmirr/genius_lyric_scraper
A tool for scraping lyrics from Genius
https://github.com/ssmirr/genius_lyric_scraper
Last synced: 3 months ago
JSON representation
A tool for scraping lyrics from Genius
- Host: GitHub
- URL: https://github.com/ssmirr/genius_lyric_scraper
- Owner: ssmirr
- Created: 2016-07-07T04:47:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-07-07T05:12:23.000Z (almost 9 years ago)
- Last Synced: 2025-01-23T01:29:51.980Z (4 months ago)
- Language: Ruby
- Size: 2.93 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This is quick and dirty lyric scraper I threw together to fetch source material for my [Gucci Mane Lyric Generator](http://github.com/alexfulsome/guccimane_generator) because the public Genius API didn't offer what I needed. It will scrape an artist's entire body of work from [Genius](http://genius.com) and save it to an appropriately named text file. The applications for this are probably pretty limited but the normal warnings and caveats surrounding any web scraping still apply because Genius is cool: be responsible, don't slam them with a hundred thousand requests for the entire Cash Money catalog in an hour, web scraping is inherently brittle and this could break at any time, there might be the occasional weird formating issue, etc etc.
Dependencies:
**Faraday**,
**Nokogiri**,
**Pry**Usage:
```shell
ruby app.rb
```