mirror of
https://github.com/l1ving/youtube-dl
synced 2026-06-09 03:43:33 +08:00
Fixed InfoExtractor to sort formats
This commit is contained in:
@@ -2465,7 +2465,7 @@ class InfoExtractor(object):
|
||||
# in the wild
|
||||
f.update({
|
||||
'height': int_or_none(source_attributes.get('res')),
|
||||
'format_id': source_attributes.get('label'),
|
||||
'format_id': source_attributes.get('label') or source_attributes.get('title'),
|
||||
})
|
||||
f.update(formats[0])
|
||||
media_info['formats'].append(f)
|
||||
|
||||
Reference in New Issue
Block a user