From 09f106fb2a7f0d585ce4828ea021db653e5d21a6 Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Wed, 7 Apr 2021 20:27:45 +0200 Subject: youtube-dl wrapper now downloads and embeds all automatic subtitles. --- youtube-dl.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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" "$@" -- cgit v1.2.1