From: pukkandan Date: Sat, 29 Jan 2022 19:24:22 +0000 (+0530) Subject: Fix max_results X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=2c4cb134a90b49a4d44965b57ff43cfd45ec2d69;p=youtube-dl Fix max_results --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index 017837e10..bbd3e80d8 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -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):