From: Sergey M․ Date: Sat, 29 May 2021 20:43:59 +0000 (+0700) Subject: [ustream] Detect https embeds (closes #29133) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=2ee6c7f11074917c08253af4c47f9258aa1e0dad;p=youtube-dl [ustream] Detect https embeds (closes #29133) --- diff --git a/youtube_dl/extractor/ustream.py b/youtube_dl/extractor/ustream.py index 9e860aeb7..1e29cbe22 100644 --- a/youtube_dl/extractor/ustream.py +++ b/youtube_dl/extractor/ustream.py @@ -75,7 +75,7 @@ class UstreamIE(InfoExtractor): @staticmethod def _extract_url(webpage): mobj = re.search( - r']+?src=(["\'])(?Phttp://(?:www\.)?(?:ustream\.tv|video\.ibm\.com)/embed/.+?)\1', webpage) + r']+?src=(["\'])(?Phttps?://(?:www\.)?(?:ustream\.tv|video\.ibm\.com)/embed/.+?)\1', webpage) if mobj is not None: return mobj.group('url')