aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/utils.py
diff options
context:
space:
mode:
authorYen Chi Hsuan <yan12125@gmail.com>2016-01-25 00:58:53 +0800
committerYen Chi Hsuan <yan12125@gmail.com>2016-01-25 00:58:53 +0800
commitf6861ec96f33722c9b1ba4f2d8ca307dcbe64ac1 (patch)
tree9122d99634194c2feb784685fdd56d7133a0d3e3 /youtube_dl/utils.py
parentf733b05302f44776d369f45c730da4a5b558e21b (diff)
downloadyoutube-dl-f6861ec96f33722c9b1ba4f2d8ca307dcbe64ac1.tar.xz
[utils] Add more items to mimetype2ext (#8293)
These are used in Youtube formats
Diffstat (limited to 'youtube_dl/utils.py')
-rw-r--r--youtube_dl/utils.py2
1 files changed, 2 insertions, 0 deletions
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)