Feature: add get_playlist_suggestions
get_playlist: added suggestions_token add_playlist_items: made videoIds parameter optional
This commit is contained in:
parent
b76eea3738
commit
81afbe118c
4 changed files with 62 additions and 25 deletions
|
|
@ -100,6 +100,10 @@ def get_parsed_continuation_items(response, parse_func, continuation_type):
|
|||
def get_continuation_params(results, ctoken_path):
|
||||
ctoken = nav(results,
|
||||
['continuations', 0, 'next' + ctoken_path + 'ContinuationData', 'continuation'])
|
||||
return get_continuation_string(ctoken)
|
||||
|
||||
|
||||
def get_continuation_string(ctoken):
|
||||
return "&ctoken=" + ctoken + "&continuation=" + ctoken
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue