]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[extractor/generic] Add test for mediaset embed
authorSergey M․ <dstftw@gmail.com>
Sat, 13 May 2017 23:40:19 +0000 (06:40 +0700)
committerSergey M․ <dstftw@gmail.com>
Sat, 13 May 2017 23:40:19 +0000 (06:40 +0700)
youtube_dl/extractor/generic.py

index 32f38c401f87413491576b341017c5ec0d874c5c..c108d4a8a4e9a31d6b931d39c8a6233e75be1b0d 100644 (file)
@@ -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