Skip to content

Commit

Permalink
[ustream] Detect https embeds (closes #29133)
Browse files Browse the repository at this point in the history
  • Loading branch information
dstftw committed May 29, 2021
1 parent 6511b8e commit 2ee6c7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion youtube_dl/extractor/ustream.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')

Expand Down

0 comments on commit 2ee6c7f

Please sign in to comment.