diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-01-05 03:19:09 +0100 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-01-05 03:21:23 +0100 |
commit | cefcb9fde3bcacc6231f9bba7e025a3a9f21afc3 (patch) | |
tree | ccd914d7a26d073a1894903534f29e9a3fe68a2d /youtube_dl | |
parent | bca4e930768afed7d2da9d9d89e2c7ed4fc06356 (diff) |
[bliptv] Use centralized format sorting
This also makes youtube-dl use the better "Source" format by default.
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/bliptv.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/youtube_dl/extractor/bliptv.py b/youtube_dl/extractor/bliptv.py index c87f9160b..159ea39d9 100644 --- a/youtube_dl/extractor/bliptv.py +++ b/youtube_dl/extractor/bliptv.py @@ -26,8 +26,8 @@ class BlipTVIE(InfoExtractor): IE_NAME = 'blip.tv' _TEST = { 'url': 'http://blip.tv/cbr/cbr-exclusive-gotham-city-imposters-bats-vs-jokerz-short-3-5796352', - 'file': '5779306.m4v', - 'md5': '80baf1ec5c3d2019037c1c707d676b9f', + 'file': '5779306.mov', + 'md5': 'c6934ad0b6acf2bd920720ec888eb812', 'info_dict': { 'upload_date': '20111205', 'description': 'md5:9bc31f227219cde65e47eeec8d2dc596', @@ -101,6 +101,8 @@ class BlipTVIE(InfoExtractor): 'height': int(data['media']['height']), }) + self._sort_formats(formats) + return { 'id': compat_str(data['item_id']), 'uploader': data['display_name'], |