ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
130.46k stars 9.85k forks source link

How to download subtitles only once? #25858

Open someziggyman opened 4 years ago

someziggyman commented 4 years ago

Checklist

Question

Hello guys. I'm downloading a video with subtitles using following parameters:

youtube-dl -f 137,bestaudio --write-sub --write-auto-sub --all-subs myYTlink

Since I'm downloading video and audio files separately, I've noticed youtube-dl downloads subtitles twice: First time - when download starts; Second time - when video download finishes and audio file download starts

How can I fix this? Any advice is appreciated. I assume there is some syntax solution for this with []^ symbols.

aashu commented 3 years ago

if u have figured it out by now, let me know.

ghost commented 3 years ago

Using --no-overwrites will skip the second download.