Skip to content

A feature-rich command-line audio/video downloader

[utils] Add another f4m mimetype to mimetype2ext

Sergey M․f164b97123d5
diff --git a/youtube_dl/utils.py b/youtube_dl/utils.py
index e6e0155b4e..f5cd6819b4 100644
--- a/youtube_dl/utils.py
+++ b/youtube_dl/utils.py
@@ -2123,6 +2123,7 @@ def mimetype2ext(mt):
'dash+xml': 'mpd',
'f4m': 'f4m',
'f4m+xml': 'f4m',
+ 'hds+xml': 'f4m',
'vnd.ms-sstr+xml': 'ism',
}.get(res, res)