Genius R scraper
This package includes a series of functions that give R users access to "Genius" data. These data are obtained by scraping their website.
To install the most updated version from GitHub, type:
library(devtools)
devtools::install_github("metalyrics/rgenius")
First, you'll need docker on your pc.
Pull the browser's image:
$ sudo docker pull selenium/standalone-firefox
Run:
$ sudo docker run -d -p 4445:4444 --shm-size 2g selenium/standalone-firefox
Now you're ready to use the package.
music_lyrics <- rgenius::get_music_lyrics("Lizzo", "Truth Hurts")