浏览代码

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

These are used in Youtube formats
Yen Chi Hsuan 9 年之前
父节点
当前提交
f6861ec96f
共有 1 个文件被更改,包括 2 次插入0 次删除
  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-mp4-fragmented': 'mp4',
         'ttml+xml': 'ttml',
+        '3gpp': '3gp',
+        'x-flv': 'flv',
     }.get(res, res)