diff options
author | Yen Chi Hsuan <yan12125@gmail.com> | 2016-01-25 01:01:15 +0800 |
---|---|---|
committer | Yen Chi Hsuan <yan12125@gmail.com> | 2016-01-25 01:01:15 +0800 |
commit | a0d8d704df5ff3098b86e741f238d53de1711198 (patch) | |
tree | 6b888f11612ff6393a22d78e456a4e380ff16344 /youtube_dl | |
parent | f6861ec96f33722c9b1ba4f2d8ca307dcbe64ac1 (diff) |
[utils] Reorder items in mimetype2ext alphabetically
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/utils.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 178d1dcb3..c63b61598 100644 --- 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) |