[utils] Add more items to mimetype2ext (#8293)
authorYen Chi Hsuan <yan12125@gmail.com>
Sun, 24 Jan 2016 16:58:53 +0000 (00:58 +0800)
committerYen 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

index 9c1c0e0bdf55040dc3b82d4393d50c3623e3b0de..178d1dcb353c9cb68c874f6203a9f488250bf122 100644 (file)
@@ -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)