johnwmillr / LyricsGenius

Download song lyrics and metadata from Genius.com 🎶🎤
http://www.johnwmillr.com/scraping-genius-lyrics/
MIT License
892 stars 158 forks source link

The Doc is supposed to UPDATE #167

Closed Xpectuer closed 3 years ago

Xpectuer commented 3 years ago

In documentation https://lyricsgenius.readthedocs.io/en/master/examples/snippets.html#all-the-songs-of-an-artist

from lyricsgenius import Genius

genius = Genius(token)
genius.search_artist('Andy Shauf')
artist.save_lyrics()

should be updated as

from lyricsgenius import Genius

genius = Genius(token)
artist = genius.search_artist('Andy Shauf')
artist.save_lyrics()

Best wishes~

allerter commented 3 years ago

Hi. Thanks for reporting this. If you're interested, you could open a PR with the update.