diff options
author | Filippo Valsorda <filippo.valsorda@gmail.com> | 2014-02-03 02:41:59 +0100 |
---|---|---|
committer | Filippo Valsorda <filippo.valsorda@gmail.com> | 2014-02-03 02:41:59 +0100 |
commit | 2b39af9b4f8cea51f11fbec726aca0482b671256 (patch) | |
tree | 784ccef5051377b9693497f7a3f58a02c8def8b5 /youtube_dl/extractor/bliptv.py | |
parent | 23fe495feb8e1a54f20beb6c7b9e976c6d1a1759 (diff) |
[BlipTV] Add a test case w/ subtitles (#2274)
Diffstat (limited to 'youtube_dl/extractor/bliptv.py')
-rw-r--r-- | youtube_dl/extractor/bliptv.py | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/youtube_dl/extractor/bliptv.py b/youtube_dl/extractor/bliptv.py index ffe6f89b1..9ca9f6525 100644 --- a/youtube_dl/extractor/bliptv.py +++ b/youtube_dl/extractor/bliptv.py @@ -22,17 +22,30 @@ class BlipTVIE(InfoExtractor): _VALID_URL = r'^(?:https?://)?(?:\w+\.)?blip\.tv/((.+/)|(play/)|(api\.swf#))(.+)$' - _TEST = { + _TESTS = [{ 'url': 'http://blip.tv/cbr/cbr-exclusive-gotham-city-imposters-bats-vs-jokerz-short-3-5796352', - 'file': '5779306.mov', 'md5': 'c6934ad0b6acf2bd920720ec888eb812', 'info_dict': { + 'id': '5779306', + 'ext': 'mov', 'upload_date': '20111205', 'description': 'md5:9bc31f227219cde65e47eeec8d2dc596', 'uploader': 'Comic Book Resources - CBR TV', 'title': 'CBR EXCLUSIVE: "Gotham City Imposters" Bats VS Jokerz Short 3', } - } + }, { + # With subtitles (ignored) #2274 + 'url': 'http://blip.tv/play/h6Uag5OEVgI.html', + 'md5': '309f9d25b820b086ca163ffac8031806', + 'info_dict': { + "id": "6586561", + "ext": "mp4", + "upload_date": "20130614", + "uploader": "Red vs. Blue", + "title": "Red vs. Blue Season 11 Episode 1", + "description": "One-Zero-One" + } + }] def report_direct_download(self, title): """Report information extraction.""" |