From f6861ec96f33722c9b1ba4f2d8ca307dcbe64ac1 Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Mon, 25 Jan 2016 00:58:53 +0800 Subject: [PATCH] [utils] Add more items to mimetype2ext (#8293) These are used in Youtube formats --- youtube_dl/utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 9c1c0e0bd..178d1dcb3 100644 --- a/youtube_dl/utils.py +++ b/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)