A feature-rich command-line audio/video downloader
[utils] `mimetype2ext`: weba is not standard
pukkandand80ca5deaa46
diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.pyindex 9b70d749f3..5acd753762 100644--- a/yt_dlp/postprocessor/ffmpeg.py+++ b/yt_dlp/postprocessor/ffmpeg.py@@ -44,6 +44,7 @@ EXT_TO_OUT_FORMATS = {'ts': 'mpegts','wma': 'asf','wmv': 'asf',+ 'weba': 'webm','vtt': 'webvtt',}ACODECS = {diff --git a/yt_dlp/utils.py b/yt_dlp/utils.pyindex d02b0bac04..a0ae12aeac 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',