Skip to content

Commit fa57c7a

Browse files
gamer191bashonly
andauthored
srt should be prioritised 2nd after vtt
Co-authored-by: bashonly <[email protected]>
1 parent b9a3e03 commit fa57c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

yt_dlp/extractor/youtube/_video.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
250250
'400': {'ext': 'mp4', 'height': 1440, 'format_note': 'DASH video', 'vcodec': 'av01.0.12M.08'},
251251
'401': {'ext': 'mp4', 'height': 2160, 'format_note': 'DASH video', 'vcodec': 'av01.0.12M.08'},
252252
}
253-
_SUBTITLE_FORMATS = ('json3', 'srt', 'srv1', 'srv2', 'srv3', 'ttml', 'vtt')
253+
_SUBTITLE_FORMATS = ('json3', 'srv1', 'srv2', 'srv3', 'ttml', 'srt', 'vtt')
254254
_DEFAULT_CLIENTS = ('tv', 'ios', 'web')
255255
_DEFAULT_AUTHED_CLIENTS = ('tv', 'web')
256256

0 commit comments

Comments
 (0)