mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-25 08:13:46 +00:00
parent
7b5f3f7c3d
commit
aeaf3b2b92
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,7 @@ def _real_extract(self, url):
|
||||||
|
|
||||||
file_versions = coub['file_versions']
|
file_versions = coub['file_versions']
|
||||||
|
|
||||||
QUALITIES = ('low', 'med', 'high')
|
QUALITIES = ('low', 'med', 'high', 'higher')
|
||||||
|
|
||||||
MOBILE = 'mobile'
|
MOBILE = 'mobile'
|
||||||
IPHONE = 'iphone'
|
IPHONE = 'iphone'
|
||||||
|
@ -86,6 +86,7 @@ def _real_extract(self, url):
|
||||||
'format_id': '%s-%s-%s' % (HTML5, kind, quality),
|
'format_id': '%s-%s-%s' % (HTML5, kind, quality),
|
||||||
'filesize': int_or_none(item.get('size')),
|
'filesize': int_or_none(item.get('size')),
|
||||||
'vcodec': 'none' if kind == 'audio' else None,
|
'vcodec': 'none' if kind == 'audio' else None,
|
||||||
|
'acodec': 'none' if kind == 'video' else None,
|
||||||
'quality': quality_key(quality),
|
'quality': quality_key(quality),
|
||||||
'source_preference': preference_key(HTML5),
|
'source_preference': preference_key(HTML5),
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue