aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/ustream.py
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2021-05-30 03:43:59 +0700
committerSergey M․ <dstftw@gmail.com>2021-05-30 03:43:59 +0700
commit2ee6c7f11074917c08253af4c47f9258aa1e0dad (patch)
tree68cbdef4b32734c2775209a2359da8a0d53ec7d6 /youtube_dl/extractor/ustream.py
parent6511b8e8d7db78d4ba3706df5122a74e1c9b9b57 (diff)
downloadyoutube-dl-2ee6c7f11074917c08253af4c47f9258aa1e0dad.tar.xz
[ustream] Detect https embeds (closes #29133)
Diffstat (limited to 'youtube_dl/extractor/ustream.py')
-rw-r--r--youtube_dl/extractor/ustream.py2
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')