]> git.bitcoin.ninja Git - youtube-dl/commitdiff
[kaltura] Add test for referrer protected video (#7409)
authorSergey M․ <dstftw@gmail.com>
Fri, 20 Nov 2015 19:40:28 +0000 (01:40 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 20 Nov 2015 19:40:28 +0000 (01:40 +0600)
youtube_dl/extractor/generic.py

index c7cee5487986e21a157c260da66dec0d5699ff7f..e512c1e14ef228abe38112ede2b8313b5a536753 100644 (file)
@@ -823,6 +823,19 @@ class GenericIE(InfoExtractor):
                 'title': 'Os Guinness // Is It Fools Talk? // Unbelievable? Conference 2014',
             },
         },
+        # Kaltura embed protected with referrer
+        {
+            'url': 'http://www.disney.nl/disney-channel/filmpjes/achter-de-schermen#/videoId/violetta-achter-de-schermen-ruggero',
+            'info_dict': {
+                'id': '1_g4fbemnq',
+                'ext': 'mp4',
+                'title': 'Violetta - Achter De Schermen - Ruggero',
+                'description': 'Achter de schermen met Ruggero',
+                'timestamp': 1435133761,
+                'upload_date': '20150624',
+                'uploader_id': 'echojecka',
+            },
+        },
         # Eagle.Platform embed (generic URL)
         {
             'url': 'http://lenta.ru/news/2015/03/06/navalny/',