Merge pull request #8130 from dyn888/master
[youtube-dl] / youtube_dl / utils.py
index e583299c57b3c6aca3fd4783beef5246be35661d..c63b61598ac421c99f86928093c8a38f0f57ca59 100644 (file)
@@ -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)
 
 
@@ -1857,7 +1859,7 @@ def encode_data_uri(data, mime_type):
 
 
 def age_restricted(content_limit, age_limit):
-    """ Returns True if the content should be blocked """
+    """ Returns True iff the content should be blocked """
 
     if age_limit is None:  # No limit set
         return False