Fix max_results
authorpukkandan <pukkandan.ytdlp@gmail.com>
Sat, 29 Jan 2022 19:24:22 +0000 (00:54 +0530)
committerpukkandan <pukkandan.ytdlp@gmail.com>
Sat, 29 Jan 2022 19:24:22 +0000 (00:54 +0530)
youtube_dl/extractor/youtube.py

index 017837e104e7bb8b323c5fe5141e1c3458280c7a..bbd3e80d854ceee2834eed0773e0b97c1cbecf24 100644 (file)
@@ -3453,6 +3453,7 @@ class YoutubeSearchIE(SearchInfoExtractor, YoutubeBaseInfoExtractor):
     IE_NAME = 'youtube:search'
     _SEARCH_KEY = 'ytsearch'
     _SEARCH_PARAMS = 'EgIQAQ%3D%3D'  # Videos only
+    _MAX_RESULTS = float('inf')
     _TESTS = []
 
     def _get_n_results(self, query, n):