1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-12-17 22:55:42 +07:00

[ted] Add support for embed-ssl.ted.com embedded videos

This commit is contained in:
Jaime Marquínez Ferrándiz
2015-01-05 13:11:13 +01:00
parent 87830900a9
commit cd791a5ea0
2 changed files with 3 additions and 3 deletions

View File

@@ -926,7 +926,7 @@ def _playlist_from_matches(matches, getter=None, ie=None):
# Look for embedded TED player
mobj = re.search(
r'<iframe[^>]+?src=(["\'])(?P<url>http://embed\.ted\.com/.+?)\1', webpage)
r'<iframe[^>]+?src=(["\'])(?P<url>https?://embed(?:-ssl)?\.ted\.com/.+?)\1', webpage)
if mobj is not None:
return self.url_result(mobj.group('url'), 'TED')