Browse Source
[extractor/generic] Add test for mediaset embed
master
Sergey M․
8 years ago
No known key found for this signature in database
GPG Key ID: 2C393E0F18A9236D
1 changed files with
13 additions and
0 deletions
-
youtube_dl/extractor/generic.py
|
|
@ -1720,6 +1720,19 @@ class GenericIE(InfoExtractor): |
|
|
|
}, |
|
|
|
'add_ie': [WashingtonPostIE.ie_key()], |
|
|
|
}, |
|
|
|
{ |
|
|
|
# Mediaset embed |
|
|
|
'url': 'http://www.tgcom24.mediaset.it/politica/serracchiani-voglio-vivere-in-una-societa-aperta-reazioni-sproporzionate-_3071354-201702a.shtml', |
|
|
|
'info_dict': { |
|
|
|
'id': '720642', |
|
|
|
'ext': 'mp4', |
|
|
|
'title': 'Serracchiani: "Voglio vivere in una società aperta, con tutela del patto di fiducia"', |
|
|
|
}, |
|
|
|
'params': { |
|
|
|
'skip_download': True, |
|
|
|
}, |
|
|
|
'add_ie': [MediasetIE.ie_key()], |
|
|
|
}, |
|
|
|
# { |
|
|
|
# # TODO: find another test |
|
|
|
# # http://schema.org/VideoObject |
|
|
|