[funimation] Add test for promotional video
authorSergey M․ <dstftw@gmail.com>
Fri, 11 Dec 2015 18:52:00 +0000 (00:52 +0600)
committerSergey M․ <dstftw@gmail.com>
Fri, 11 Dec 2015 18:52:00 +0000 (00:52 +0600)
youtube_dl/extractor/funimation.py

index 5322e4e93df00cdcff0e87f07562e166b512d383..35125b6313d56b9972b0ff39aa62814b6c4b40a1 100644 (file)
@@ -39,7 +39,14 @@ class FunimationIE(InfoExtractor):
         },
     }, {
         'url': 'http://www.funimation.com/shows/attack-on-titan-junior-high/videos/promotional/broadcast-dub-preview',
-        'only_matching': True,
+        'info_dict': {
+            'id': '9635',
+            'display_id': 'broadcast-dub-preview',
+            'ext': 'mp4',
+            'title': 'Attack on Titan: Junior High - Broadcast Dub Preview',
+            'description': 'md5:f8ec49c0aff702a7832cd81b8a44f803',
+            'thumbnail': 're:https?://.*\.(?:jpg|png)',
+        },
     }]
 
     def _login(self):