ytsearchurl 5 pages for around 100 results

This commit is contained in:
Unknown 2020-11-11 00:00:27 +01:00
parent 73ac856785
commit 104bfdd24d

View file

@ -3421,7 +3421,7 @@ def _real_extract(self, url):
mobj = re.match(self._VALID_URL, url)
query = compat_urllib_parse_unquote_plus(mobj.group('query'))
webpage = self._download_webpage(url, query)
return self.playlist_result(self._entries(webpage, query, max_pages=0), playlist_title=query)
return self.playlist_result(self._entries(webpage, query, max_pages=5), playlist_title=query)
class YoutubeShowIE(YoutubePlaylistsBaseInfoExtractor):