youtube:channel hotfix

This commit is contained in:
Laura Liberda 2020-12-11 23:35:25 +01:00
parent a12318ed7e
commit 32617e06b3

View file

@ -2295,7 +2295,7 @@ class YoutubeBaseListInfoExtractor(YoutubeBaseInfoExtractor):
class YoutubeAjaxListInfoExtractor(YoutubeBaseListInfoExtractor): class YoutubeAjaxListInfoExtractor(YoutubeBaseListInfoExtractor):
def _download_continuation(self, continuation, list_id, page_no): def _download_continuation(self, continuation, list_id, page_no, session_id=None):
return self._download_json('https://www.youtube.com/browse_ajax', list_id, return self._download_json('https://www.youtube.com/browse_ajax', list_id,
note='Downloading %s page #%d (ajax)' % (self._LIST_NAME, page_no), note='Downloading %s page #%d (ajax)' % (self._LIST_NAME, page_no),
headers=self._YOUTUBE_CLIENT_HEADERS, query={ headers=self._YOUTUBE_CLIENT_HEADERS, query={