get_artist: Default to None if mix is missing (closes #165)
This commit is contained in:
parent
5682cc0bae
commit
abbc13f7af
1 changed files with 2 additions and 2 deletions
|
|
@ -278,9 +278,9 @@ class BrowsingMixin:
|
|||
subscription_button = header['subscriptionButton']['subscribeButtonRenderer']
|
||||
artist['channelId'] = subscription_button['channelId']
|
||||
artist['shuffleId'] = nav(header,
|
||||
['playButton', 'buttonRenderer'] + NAVIGATION_WATCH_PLAYLIST_ID)
|
||||
['playButton', 'buttonRenderer'] + NAVIGATION_WATCH_PLAYLIST_ID, True)
|
||||
artist['radioId'] = nav(header, ['startRadioButton', 'buttonRenderer']
|
||||
+ NAVIGATION_WATCH_PLAYLIST_ID)
|
||||
+ NAVIGATION_WATCH_PLAYLIST_ID, True)
|
||||
artist['subscribers'] = nav(subscription_button,
|
||||
['subscriberCountText', 'runs', 0, 'text'], True)
|
||||
artist['subscribed'] = subscription_button['subscribed']
|
||||
|
|
|
|||
Loading…
Reference in a new issue