mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-23 00:54:31 +01:00
[utils] Reorder items in mimetype2ext alphabetically
This commit is contained in:
parent
f6861ec96f
commit
a0d8d704df
@ -1828,11 +1828,11 @@ def mimetype2ext(mt):
|
||||
_, _, res = mt.rpartition('/')
|
||||
|
||||
return {
|
||||
'x-ms-wmv': 'wmv',
|
||||
'x-mp4-fragmented': 'mp4',
|
||||
'ttml+xml': 'ttml',
|
||||
'3gpp': '3gp',
|
||||
'ttml+xml': 'ttml',
|
||||
'x-flv': 'flv',
|
||||
'x-mp4-fragmented': 'mp4',
|
||||
'x-ms-wmv': 'wmv',
|
||||
}.get(res, res)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user