aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey M․ <dstftw@gmail.com>2015-12-12 00:52:00 +0600
committerSergey M․ <dstftw@gmail.com>2015-12-12 00:52:00 +0600
commit0b1bb1ac3ac25dd4d248c71fec16b2a995ecb935 (patch)
tree6f2bea91808f180df0358d3b7892a23e517d77dd
parentf208e52a76231b112c6a9d64e2fd32712e7812e0 (diff)
downloadyoutube-dl-0b1bb1ac3ac25dd4d248c71fec16b2a995ecb935.tar.xz
[funimation] Add test for promotional video
-rw-r--r--youtube_dl/extractor/funimation.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/youtube_dl/extractor/funimation.py b/youtube_dl/extractor/funimation.py
index 5322e4e93..35125b631 100644
--- a/youtube_dl/extractor/funimation.py
+++ b/youtube_dl/extractor/funimation.py
@@ -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):