aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xyoutube-dl.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/youtube-dl.sh b/youtube-dl.sh
index d492c8c..3ba508e 100755
--- a/youtube-dl.sh
+++ b/youtube-dl.sh
@@ -1,2 +1,4 @@
#!/bin/sh
-youtube-dl --add-metadata --all-subs --embed-subs -o "$HOME/downloads/videos/%(title)s.%(ext)s" "$@"
+youtube-dl --add-metadata \
+ --write-auto-sub --all-subs --embed-subs --sub-format "srt/best" \
+ -o "$HOME/downloads/videos/%(title)s.%(ext)s" "$@"