mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-11-23 18:51:51 +00:00
Fix max_results
This commit is contained in:
parent
bfe72723d8
commit
2c4cb134a9
1 changed files with 1 additions and 0 deletions
|
@ -3453,6 +3453,7 @@ class YoutubeSearchIE(SearchInfoExtractor, YoutubeBaseInfoExtractor):
|
||||||
IE_NAME = 'youtube:search'
|
IE_NAME = 'youtube:search'
|
||||||
_SEARCH_KEY = 'ytsearch'
|
_SEARCH_KEY = 'ytsearch'
|
||||||
_SEARCH_PARAMS = 'EgIQAQ%3D%3D' # Videos only
|
_SEARCH_PARAMS = 'EgIQAQ%3D%3D' # Videos only
|
||||||
|
_MAX_RESULTS = float('inf')
|
||||||
_TESTS = []
|
_TESTS = []
|
||||||
|
|
||||||
def _get_n_results(self, query, n):
|
def _get_n_results(self, query, n):
|
||||||
|
|
Loading…
Reference in a new issue