Revert ytmusicapi/mixins/browsing.py file
This commit is contained in:
parent
3d88e75ea5
commit
6414249969
1 changed files with 3 additions and 5 deletions
|
|
@ -105,12 +105,10 @@ class BrowsingMixin:
|
||||||
|
|
||||||
section_list = nav(response, SINGLE_COLUMN_TAB + ['sectionListRenderer'])
|
section_list = nav(response, SINGLE_COLUMN_TAB + ['sectionListRenderer'])
|
||||||
if 'continuations' in section_list:
|
if 'continuations' in section_list:
|
||||||
|
request_func = lambda additionalParams: self._send_request(
|
||||||
|
endpoint, body, additionalParams)
|
||||||
|
|
||||||
def request_func(additionalParams):
|
parse_func = lambda contents: parse_mixed_content(contents)
|
||||||
return self._send_request(endpoint, body, additionalParams)
|
|
||||||
|
|
||||||
def parse_func(contents):
|
|
||||||
return parse_mixed_content(contents)
|
|
||||||
|
|
||||||
home.extend(
|
home.extend(
|
||||||
get_continuations(section_list, 'sectionListContinuation', limit - len(home),
|
get_continuations(section_list, 'sectionListContinuation', limit - len(home),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue