1
0
Fork 0
mirror of https://github.com/blackjack4494/yt-dlc.git synced 2024-12-30 11:46:57 +00:00

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 @@ class YoutubeSearchURLIE(YoutubePlaylistBaseInfoExtractor):
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):