Added https for ustream iframe sources.

This commit is contained in:
Parth Verma 2018-04-30 21:59:08 +05:30
parent 2605e97bda
commit 15b71e4a61

View File

@ -72,7 +72,7 @@ class UstreamIE(InfoExtractor):
@staticmethod @staticmethod
def _extract_url(webpage): def _extract_url(webpage):
mobj = re.search( mobj = re.search(
r'<iframe[^>]+?src=(["\'])(?P<url>http://www\.ustream\.tv/embed/.+?)\1', webpage) r'<iframe[^>]+?src=(["\'])(?P<url>https?://www\.ustream\.tv/embed/.+?)\1', webpage)
if mobj is not None: if mobj is not None:
return mobj.group('url') return mobj.group('url')