Closed cfregly closed 4 years ago
Describe the bug
lyricsgenius 1.8.4
Searching for songs by Andy Shauf... --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-11-8927ac85ef21> in <module>() ----> 1 artist = genius.search_artist('Andy Shauf', max_songs=3, sort='title') 2 print(artist.songs) ~/anaconda3/envs/python3/lib/python3.6/site-packages/lyricsgenius/api.py in search_artist(self, artist_name, max_songs, sort, per_page, get_full_info, allow_name_change, artist_id) 319 320 artist_info = self.get_artist(artist_id) --> 321 found_name = artist_info['artist']['name'] 322 if found_name != artist_name and allow_name_change: 323 if self.verbose: TypeError: 'NoneType' object is not subscriptable
Expected behavior Write a clear and concise description of what you expected to happen.
To Reproduce Describe the steps required to reproduce the behavior.
Include the error message associated with the bug.
Version info
import lyricsgenius; print(lyricsgenius.__version__)
Additional context Add any other context about the problem here.
was using the wrong access key. fixed.
hahah me too :)
Describe the bug
lyricsgenius 1.8.4
Expected behavior Write a clear and concise description of what you expected to happen.
To Reproduce Describe the steps required to reproduce the behavior.
Include the error message associated with the bug.
Version info
import lyricsgenius; print(lyricsgenius.__version__)
]Additional context Add any other context about the problem here.