Fix exception when artist has no thumbnail
This commit is contained in:
parent
a57956449d
commit
677ed0113e
1 changed files with 1 additions and 1 deletions
|
|
@ -194,7 +194,7 @@ class BrowsingMixin:
|
|||
artist['subscribers'] = nav(subscription_button,
|
||||
['subscriberCountText', 'runs', 0, 'text'], True)
|
||||
artist['subscribed'] = subscription_button['subscribed']
|
||||
artist['thumbnails'] = nav(header, THUMBNAILS)
|
||||
artist['thumbnails'] = nav(header, THUMBNAILS, True)
|
||||
artist['songs'] = {'browseId': None}
|
||||
if 'musicShelfRenderer' in results[0]: # API sometimes does not return songs
|
||||
musicShelf = nav(results, MUSIC_SHELF)
|
||||
|
|
|
|||
Loading…
Reference in a new issue