mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-12-27 01:51:24 +00:00
[utils] mimetype2ext: Recognize more srt types (#15411)
Authored by: seproDev
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user