add foramt chose for subtitlse
This commit is contained in:
@ -492,7 +492,7 @@ func infoFromURL(
|
||||
}
|
||||
|
||||
for _, caption := range info.AutomaticCaptions[lang] {
|
||||
if caption.Ext != options.DownloadSubtitlesFormat {
|
||||
if options.DownloadSubtitlesFormat != "" && caption.Ext != options.DownloadSubtitlesFormat {
|
||||
continue
|
||||
}
|
||||
resp, respErr := get(caption.URL)
|
||||
|
Reference in New Issue
Block a user