From: Sergey M․ Date: Fri, 11 Dec 2015 18:52:00 +0000 (+0600) Subject: [funimation] Add test for promotional video X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=0b1bb1ac3ac25dd4d248c71fec16b2a995ecb935;p=youtube-dl [funimation] Add test for promotional video --- 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):