aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/extractor/ustream.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2021-06-01 02:37:01 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2021-06-01 02:48:20 +0530
commit14eb1ee1cbcc052f5e9164f783f3e03043c25aa0 (patch)
tree2b9f4328b104739491cce978bedee6d4a39c921f /yt_dlp/extractor/ustream.py
parent879e7199bbd7c3532bd78dd8b71292a46ae555f0 (diff)
downloadhypervideo-pre-14eb1ee1cbcc052f5e9164f783f3e03043c25aa0.tar.lz
hypervideo-pre-14eb1ee1cbcc052f5e9164f783f3e03043c25aa0.tar.xz
hypervideo-pre-14eb1ee1cbcc052f5e9164f783f3e03043c25aa0.zip
Update to ytdl-commit-d495292
[ard] Relax _VALID_URL and fix video ids https://github.com/ytdl-org/youtube-dl/commit/d495292852b6c2f1bd58bc2141ff2b0265c952cf Closes #357
Diffstat (limited to 'yt_dlp/extractor/ustream.py')
-rw-r--r--yt_dlp/extractor/ustream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/extractor/ustream.py b/yt_dlp/extractor/ustream.py
index 9e860aeb7..1e29cbe22 100644
--- a/yt_dlp/extractor/ustream.py
+++ b/yt_dlp/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')