Provide browseId for search resultType artist (fixes #115)

This commit is contained in:
sigma67 2020-12-14 14:10:40 +01:00
commit ee6e06690e
No known key found for this signature in database
GPG key ID: 1545A01D4474BAF0

View file

@ -31,7 +31,7 @@ class Parser:
data, PLAY_BUTTON)['playNavigationEndpoint']['watchEndpoint']['videoId']
search_result['title'] = get_item_text(data, 0)
if resultType in ['``artist', 'album', 'playlist']:
if resultType in ['artist', 'album', 'playlist']:
search_result['browseId'] = nav(data, NAVIGATION_BROWSE_ID)
if resultType in ['artist']: