From: Yen Chi Hsuan Date: Sun, 24 Jan 2016 16:58:53 +0000 (+0800) Subject: [utils] Add more items to mimetype2ext (#8293) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=f6861ec96f33722c9b1ba4f2d8ca307dcbe64ac1;p=youtube-dl.git [utils] Add more items to mimetype2ext (#8293) These are used in Youtube formats --- 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)