This function is used inside of the `genius_lyrics()` function. Given a url to a song on Genius, this function returns a tibble where each row is one line. Pair this function with `gen_song_url()` for easier access to song lyrics.
Usage
genius_url(url, info = "title")
Arguments
url
The url of song lyrics on Genius
info
Default "title", returns the track title. Set to "simple" for only lyrics, "artist" for the lyrics and artist, "features" for song element and the artist of that element, "all" to return artist, track, line, lyric, element, and element artist.
# NOT RUN {#' genius_url("https://genius.com/Head-north-in-the-water-lyrics", info = "all")# url <- gen_song_url(artist = "Kendrick Lamar", song = "HUMBLE")# genius_url(url)# }