logo

youtube-dl

[mirror] Download/Watch videos from video hostersgit clone https://hacktivis.me/git/mirror/youtube-dl.git
commit: 2ee6c7f11074917c08253af4c47f9258aa1e0dad
parent 6511b8e8d7db78d4ba3706df5122a74e1c9b9b57
Author: Sergey M․ <dstftw@gmail.com>
Date:   Sun, 30 May 2021 03:43:59 +0700

[ustream] Detect https embeds (closes #29133)

Diffstat:

Myoutube_dl/extractor/ustream.py2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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>https?://(?:www\.)?(?:ustream\.tv|video\.ibm\.com)/embed/.+?)\1', webpage) if mobj is not None: return mobj.group('url')