Explorar o código

[utils] Reorder items in mimetype2ext alphabetically

Yen Chi Hsuan %!s(int64=10) %!d(string=hai) anos
pai
achega
a0d8d704df
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      youtube_dl/utils.py

+ 3 - 3
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)