Explorar el Código

[utils] Add more items to mimetype2ext (#8293)

These are used in Youtube formats
Yen Chi Hsuan hace 9 años
padre
commit
f6861ec96f
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  1. 2 0
      youtube_dl/utils.py

+ 2 - 0
youtube_dl/utils.py

@@ -1831,6 +1831,8 @@ def mimetype2ext(mt):
         'x-ms-wmv': 'wmv',
         'x-ms-wmv': 'wmv',
         'x-mp4-fragmented': 'mp4',
         'x-mp4-fragmented': 'mp4',
         'ttml+xml': 'ttml',
         'ttml+xml': 'ttml',
+        '3gpp': '3gp',
+        'x-flv': 'flv',
     }.get(res, res)
     }.get(res, res)