diff options
author | Sergey M․ <[email protected]> | 2021-05-30 03:43:59 +0700 |
---|---|---|
committer | Sergey M․ <[email protected]> | 2021-05-30 03:43:59 +0700 |
commit | 2ee6c7f11074917c08253af4c47f9258aa1e0dad (patch) | |
tree | 68cbdef4b32734c2775209a2359da8a0d53ec7d6 | |
parent | 6511b8e8d7db78d4ba3706df5122a74e1c9b9b57 (diff) | |
download | youtube-dl-2ee6c7f11074917c08253af4c47f9258aa1e0dad.tar.gz youtube-dl-2ee6c7f11074917c08253af4c47f9258aa1e0dad.zip |
[ustream] Detect https embeds (closes #29133)
-rw-r--r-- | youtube_dl/extractor/ustream.py | 2 |
1 files changed, 1 insertions, 1 deletions
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'<iframe[^>]+?src=(["\'])(?P<url>http://(?:www\.)?(?:ustream\.tv|video\.ibm\.com)/embed/.+?)\1', webpage) + r'<iframe[^>]+?src=(["\'])(?P<url>https?://(?:www\.)?(?:ustream\.tv|video\.ibm\.com)/embed/.+?)\1', webpage) if mobj is not None: return mobj.group('url') |