fix get_library_upload_albums audioPlaylistId key (YouTube update)
This commit is contained in:
parent
07794f70cf
commit
ba57e1a8a0
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@ def parse_album_header(response):
|
||||||
# add to library/uploaded
|
# add to library/uploaded
|
||||||
menu = nav(header, MENU)
|
menu = nav(header, MENU)
|
||||||
toplevel = menu['topLevelButtons']
|
toplevel = menu['topLevelButtons']
|
||||||
album['audioPlaylistId'] = nav(toplevel, [0, 'buttonRenderer'] + NAVIGATION_PLAYLIST_ID)
|
album['audioPlaylistId'] = nav(toplevel, [0, 'buttonRenderer'] + NAVIGATION_WATCH_PLAYLIST_ID)
|
||||||
service = nav(toplevel, [1, 'buttonRenderer', 'defaultServiceEndpoint'], True)
|
service = nav(toplevel, [1, 'buttonRenderer', 'defaultServiceEndpoint'], True)
|
||||||
if service:
|
if service:
|
||||||
album['likeStatus'] = parse_like_status(service)
|
album['likeStatus'] = parse_like_status(service)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue