aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2017-05-14 06:40:19 +0700
committerSergey M․ <dstftw@gmail.com>2017-05-14 06:40:19 +0700
commit2b8e6a68f8cef6a5e2fd2987446bc19ddc20bbaa (patch)
treea6313d80f9378663394981b6672ccd5a29b08b11
parentd105a7edc6e06c4eaf92838217913dde18aaae05 (diff)
[extractor/generic] Add test for mediaset embed
-rw-r--r--youtube_dl/extractor/generic.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/youtube_dl/extractor/generic.py b/youtube_dl/extractor/generic.py
index 32f38c401..c108d4a8a 100644
--- a/youtube_dl/extractor/generic.py
+++ b/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