1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-12-27 10:01:24 +00:00

[utils] mimetype2ext: Recognize more srt types (#15411)

Authored by: seproDev
This commit is contained in:
sepro
2025-12-26 19:00:45 +01:00
committed by GitHub
parent 6b23305822
commit c0a7c594a9

View File

@@ -3004,6 +3004,8 @@ def mimetype2ext(mt, default=NO_DEFAULT):
'ttaf+xml': 'dfxp',
'ttml+xml': 'ttml',
'x-ms-sami': 'sami',
'x-subrip': 'srt',
'x-srt': 'srt',
# misc
'gzip': 'gz',