mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-01-07 15:31:21 +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',
|
'ttaf+xml': 'dfxp',
|
||||||
'ttml+xml': 'ttml',
|
'ttml+xml': 'ttml',
|
||||||
'x-ms-sami': 'sami',
|
'x-ms-sami': 'sami',
|
||||||
|
'x-subrip': 'srt',
|
||||||
|
'x-srt': 'srt',
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
'gzip': 'gz',
|
'gzip': 'gz',
|
||||||
|
|||||||
Reference in New Issue
Block a user