projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f733b05
)
[utils] Add more items to mimetype2ext (#8293)
author
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 24 Jan 2016 16:58:53 +0000
(
00:58
+0800)
committer
Yen Chi Hsuan
<yan12125@gmail.com>
Sun, 24 Jan 2016 16:58:53 +0000
(
00:58
+0800)
These are used in Youtube formats
youtube_dl/utils.py
patch
|
blob
|
history
diff --git
a/youtube_dl/utils.py
b/youtube_dl/utils.py
index 9c1c0e0bdf55040dc3b82d4393d50c3623e3b0de..178d1dcb353c9cb68c874f6203a9f488250bf122 100644
(file)
--- 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)