[ustream] Detect https embeds (closes #29133)

radioplus
=?UTF-8?q?Sergey=20M=E2=80=A4?= 2021-05-31 23:28:53 +02:00 committed by Lauren Liberda
parent dd62e6bab3
commit e19e102a56
1 changed files with 1 additions and 1 deletions

View File

@ -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')