mirror of
https://github.com/l1ving/youtube-dl
synced 2025-02-01 18:42:52 +08:00
Update ustream.py
This commit is contained in:
parent
711f4e4ff8
commit
3e854bdf4a
@ -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://(?:www\.)?(?:ustream\.tv|video\.ibm\.com)/embed/.+?)\1', webpage)
|
||||
if mobj is not None:
|
||||
return mobj.group('url')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user