mirror of
https://github.com/blackjack4494/yt-dlc.git
synced 2024-12-22 15:57:23 +00:00
[bliptv] Use centralized format sorting
This also makes youtube-dl use the better "Source" format by default.
This commit is contained in:
parent
bca4e93076
commit
cefcb9fde3
1 changed files with 4 additions and 2 deletions
|
@ -26,8 +26,8 @@ class BlipTVIE(InfoExtractor):
|
||||||
IE_NAME = 'blip.tv'
|
IE_NAME = 'blip.tv'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'http://blip.tv/cbr/cbr-exclusive-gotham-city-imposters-bats-vs-jokerz-short-3-5796352',
|
'url': 'http://blip.tv/cbr/cbr-exclusive-gotham-city-imposters-bats-vs-jokerz-short-3-5796352',
|
||||||
'file': '5779306.m4v',
|
'file': '5779306.mov',
|
||||||
'md5': '80baf1ec5c3d2019037c1c707d676b9f',
|
'md5': 'c6934ad0b6acf2bd920720ec888eb812',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'upload_date': '20111205',
|
'upload_date': '20111205',
|
||||||
'description': 'md5:9bc31f227219cde65e47eeec8d2dc596',
|
'description': 'md5:9bc31f227219cde65e47eeec8d2dc596',
|
||||||
|
@ -101,6 +101,8 @@ class BlipTVIE(InfoExtractor):
|
||||||
'height': int(data['media']['height']),
|
'height': int(data['media']['height']),
|
||||||
})
|
})
|
||||||
|
|
||||||
|
self._sort_formats(formats)
|
||||||
|
|
||||||
return {
|
return {
|
||||||
'id': compat_str(data['item_id']),
|
'id': compat_str(data['item_id']),
|
||||||
'uploader': data['display_name'],
|
'uploader': data['display_name'],
|
||||||
|
|
Loading…
Reference in a new issue