[generic] Add support for <object> youtube embeds (closes #12637)
This commit is contained in:
parent
364a69e8c6
commit
61568e50cf
1 changed files with 16 additions and 0 deletions
|
@ -730,6 +730,21 @@ class GenericIE(InfoExtractor):
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
# YouTube <object> embed
|
||||||
|
{
|
||||||
|
'url': 'http://www.improbable.com/2017/04/03/untrained-modern-youths-and-ancient-masters-in-selfie-portraits/',
|
||||||
|
'md5': '516718101ec834f74318df76259fb3cc',
|
||||||
|
'info_dict': {
|
||||||
|
'id': 'msN87y-iEx0',
|
||||||
|
'ext': 'webm',
|
||||||
|
'title': 'Feynman: Mirrors FUN TO IMAGINE 6',
|
||||||
|
'upload_date': '20080526',
|
||||||
|
'description': 'md5:0ffc78ea3f01b2e2c247d5f8d1d3c18d',
|
||||||
|
'uploader': 'Christopher Sykes',
|
||||||
|
'uploader_id': 'ChristopherJSykes',
|
||||||
|
},
|
||||||
|
'add_ie': ['Youtube'],
|
||||||
|
},
|
||||||
# Camtasia studio
|
# Camtasia studio
|
||||||
{
|
{
|
||||||
'url': 'http://www.ll.mit.edu/workshops/education/videocourses/antennas/lecture1/video/',
|
'url': 'http://www.ll.mit.edu/workshops/education/videocourses/antennas/lecture1/video/',
|
||||||
|
@ -1938,6 +1953,7 @@ class GenericIE(InfoExtractor):
|
||||||
data-video-url=|
|
data-video-url=|
|
||||||
<embed[^>]+?src=|
|
<embed[^>]+?src=|
|
||||||
embedSWF\(?:\s*|
|
embedSWF\(?:\s*|
|
||||||
|
<object[^>]+data=|
|
||||||
new\s+SWFObject\(
|
new\s+SWFObject\(
|
||||||
)
|
)
|
||||||
(["\'])
|
(["\'])
|
||||||
|
|
Loading…
Reference in a new issue