1
0
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-12-16 22:46:45 +00:00

[utils] Reorder items in mimetype2ext alphabetically

This commit is contained in:
Yen Chi Hsuan 2016-01-25 01:01:15 +08:00
parent f6861ec96f
commit a0d8d704df

View File

@ -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)