get_watch_playlist: parse playlist browseId to playlistId (#179)
This commit is contained in:
parent
67843cf8ad
commit
3c1eb8519f
1 changed files with 2 additions and 2 deletions
|
|
@ -59,8 +59,8 @@ class WatchMixin:
|
|||
}
|
||||
is_playlist = False
|
||||
if playlistId:
|
||||
body['playlistId'] = playlistId
|
||||
is_playlist = playlistId.startswith('PL')
|
||||
body['playlistId'] = playlistId if not playlistId.startswith("VL") else playlistId[2:]
|
||||
is_playlist = body['playlistId'].startswith('PL')
|
||||
if params:
|
||||
body['params'] = params
|
||||
endpoint = 'next'
|
||||
|
|
|
|||
Loading…
Reference in a new issue