commit: a0d8d704df5ff3098b86e741f238d53de1711198
parent f6861ec96f33722c9b1ba4f2d8ca307dcbe64ac1
Author: Yen Chi Hsuan <yan12125@gmail.com>
Date: Mon, 25 Jan 2016 01:01:15 +0800
[utils] Reorder items in mimetype2ext alphabetically
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
@@ -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)