logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 2c4cb134a90b49a4d44965b57ff43cfd45ec2d69
parent bfe72723d8318f8bfcb35dee69a40758df5fa3c0
Author: pukkandan <pukkandan.ytdlp@gmail.com>
Date:   Sun, 30 Jan 2022 00:54:22 +0530

Fix max_results

Diffstat:

Myoutube_dl/extractor/youtube.py1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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):