projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6511b8e
)
[ustream] Detect https embeds (closes #29133)
author
Sergey M․
<dstftw@gmail.com>
Sat, 29 May 2021 20:43:59 +0000
(
03:43
+0700)
committer
Sergey M․
<dstftw@gmail.com>
Sat, 29 May 2021 20:43:59 +0000
(
03:43
+0700)
youtube_dl/extractor/ustream.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/ustream.py
b/youtube_dl/extractor/ustream.py
index 9e860aeb761aae86de24b20ce29c6250c4ff52bf..1e29cbe224ad73e4e0b03a4a0fba1f090ed3601c 100644
(file)
--- 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>http
s?
://(?:www\.)?(?:ustream\.tv|video\.ibm\.com)/embed/.+?)\1', webpage)
if mobj is not None:
return mobj.group('url')