From fec30c56f0e97e573ace659104ff0d72c4cc9809 Mon Sep 17 00:00:00 2001 From: sepro Date: Wed, 27 Aug 2025 22:25:35 +0200 Subject: [PATCH] [ie/generic] Use https as fallback protocol (#14160) Authored by: seproDev --- yt_dlp/extractor/generic.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/yt_dlp/extractor/generic.py b/yt_dlp/extractor/generic.py index b3a27f31e8..b05d6ca590 100644 --- a/yt_dlp/extractor/generic.py +++ b/yt_dlp/extractor/generic.py @@ -772,8 +772,8 @@ class GenericIE(InfoExtractor): if default_search in ('auto', 'auto_warning', 'fixup_error'): if re.match(r'[^\s/]+\.[^\s/]+/', url): - self.report_warning('The url doesn\'t specify the protocol, trying with http') - return self.url_result('http://' + url) + self.report_warning('The url doesn\'t specify the protocol, trying with https') + return self.url_result('https://' + url) elif default_search != 'fixup_error': if default_search == 'auto_warning': if re.match(r'^(?:url|URL)$', url):