X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Futils.py;h=c63b61598ac421c99f86928093c8a38f0f57ca59;hb=ed1a390583f7adfcf38c4af5432b4b2e611004ab;hp=9c1c0e0bdf55040dc3b82d4393d50c3623e3b0de;hpb=dfb1b1468cef4ddc7ecc43776abce03763f8e426;p=youtube-dl diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py index 9c1c0e0bd..c63b61598 100644 --- a/youtube_dl/utils.py +++ b/youtube_dl/utils.py @@ -1828,9 +1828,11 @@ def mimetype2ext(mt): _, _, res = mt.rpartition('/') return { - 'x-ms-wmv': 'wmv', - 'x-mp4-fragmented': 'mp4', + '3gpp': '3gp', 'ttml+xml': 'ttml', + 'x-flv': 'flv', + 'x-mp4-fragmented': 'mp4', + 'x-ms-wmv': 'wmv', }.get(res, res)