You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I pass the argument include_features=True to genius.search_artist, I get this error messages:
KeyError: 'featured_artists'
result = artist.add_song(song, verbose=False,
File "/usr/local/lib/python3.9/site-packages/lyricsgenius/types/artist.py", line 79, in add_song
or (include_features and any(new_song._body['featured_artists']))):
KeyError: 'featured_artists'
I haven't worked with this lib before (love it so far!), but maybe this is due to a recent change on genius' side?
Version info
Package version: 3.0.1
OS: macOS
The text was updated successfully, but these errors were encountered:
I'm 100% the wrong person to develop a real solution but maybe the key that is producing the error ('featured_artists') should change to 'title_with_featured'. Below is a sample response from the API docs (https://docs.genius.com/#/authentication-h1) using the Try It button on the GET /artists/:id/songs section with this API call: artists/2/songs
Whenever I pass the argument
include_features=True
togenius.search_artist
, I get this error messages:I haven't worked with this lib before (love it so far!), but maybe this is due to a recent change on genius' side?
Version info
The text was updated successfully, but these errors were encountered: