aboutsummaryrefslogtreecommitdiffstats
path: root/yt_dlp/utils.py
diff options
context:
space:
mode:
authorpukkandan <pukkandan.ytdlp@gmail.com>2023-01-03 08:05:45 +0530
committerpukkandan <pukkandan.ytdlp@gmail.com>2023-01-03 11:25:01 +0530
commitd80ca5deaa46db6e498399bb04a72a4c10ee8e22 (patch)
tree4662f20ede667aa5ab7ffee13d36a24c61c65cf2 /yt_dlp/utils.py
parent1a3cd8ec35f05bf016123f9ea456d28d0e86302a (diff)
downloadhypervideo-pre-d80ca5deaa46db6e498399bb04a72a4c10ee8e22.tar.lz
hypervideo-pre-d80ca5deaa46db6e498399bb04a72a4c10ee8e22.tar.xz
hypervideo-pre-d80ca5deaa46db6e498399bb04a72a4c10ee8e22.zip
[utils] `mimetype2ext`: weba is not standard
Fix bug in fbb73833067ba742459729809679a62f34b3e41e, 2647c933b8ed22f95dd8e9866c4db031867a1bc8 Closes #5935
Diffstat (limited to 'yt_dlp/utils.py')
-rw-r--r--yt_dlp/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py
index d02b0bac0..a0ae12aea 100644
--- a/yt_dlp/utils.py
+++ b/yt_dlp/utils.py
@@ -3529,7 +3529,7 @@ def mimetype2ext(mt, default=NO_DEFAULT):
# Per RFC 3003, audio/mpeg can be .mp1, .mp2 or .mp3.
# Using .mp3 as it's the most popular one
'audio/mpeg': 'mp3',
- 'audio/webm': 'weba',
+ 'audio/webm': 'webm',
'audio/x-matroska': 'mka',
'audio/x-mpegurl': 'm3u',
'midi': 'mid',