mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-10-04 15:25:07 -04:00
Update to ytdl-commit-d495292
[ard] Relax _VALID_URL and fix video ids
d495292852
Closes #357
This commit is contained in:
@@ -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')
|
||||
|
||||
|
Reference in New Issue
Block a user