1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-27 02:16:51 +01:00

Fix max_results

This commit is contained in:
pukkandan 2022-01-30 00:54:22 +05:30
parent bfe72723d8
commit 2c4cb134a9
No known key found for this signature in database
GPG Key ID: 0F00D95A001F4698

View 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):