Provide browseId for search resultType artist (fixes #115)
This commit is contained in:
parent
fee86377a8
commit
ee6e06690e
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ class Parser:
|
||||||
data, PLAY_BUTTON)['playNavigationEndpoint']['watchEndpoint']['videoId']
|
data, PLAY_BUTTON)['playNavigationEndpoint']['watchEndpoint']['videoId']
|
||||||
search_result['title'] = get_item_text(data, 0)
|
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)
|
search_result['browseId'] = nav(data, NAVIGATION_BROWSE_ID)
|
||||||
|
|
||||||
if resultType in ['artist']:
|
if resultType in ['artist']:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue