50% off | Unlimited Data & AI Learning
Get 50% off unlimited learning

geniusr (version 1.1.0)

scrape_lyrics_url: Retrieve lyrics associated with a Genius lyrics page URL

Description

Scrape lyrics from a Genius' lyric page using it's associated URL. Best used with scrape_tracklist, when song IDs aren't returned - otherwise, scrape_lyrics_id is recommended.

Usage

scrape_lyrics_url(song_lyrics_url, access_token = genius_token())

Arguments

song_lyrics_url

song lyrics url (like in song_lyrics_url returned by get_song_meta)

access_token

Genius' client access token, defaults to genius_token

Examples

Run this code
# NOT RUN {
scrape_lyrics_url(song_lyrics_url = "https://genius.com/Kendrick-lamar-dna-lyrics")
# }

Run the code above in your browser using DataLab