projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfe7272
)
Fix max_results
author
pukkandan
<pukkandan.ytdlp@gmail.com>
Sat, 29 Jan 2022 19:24:22 +0000
(
00:54
+0530)
committer
pukkandan
<pukkandan.ytdlp@gmail.com>
Sat, 29 Jan 2022 19:24:22 +0000
(
00:54
+0530)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index 017837e104e7bb8b323c5fe5141e1c3458280c7a..bbd3e80d854ceee2834eed0773e0b97c1cbecf24 100644
(file)
--- 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):