Download auto subtitles too. - annna - Annna the nice friendly bot. HTML git clone git://bitreich.org/annna/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/annna/ DIR Log DIR Files DIR Refs DIR Tags DIR README --- DIR commit a562443d0ae79d693f71bb026584145550fb02c8 DIR parent 4609be697fce889fc743e45a6563054b1ccdb51e HTML Author: Annna Robert-Houdin <annna@bitreich.org> Date: Fri, 1 May 2020 19:28:53 +0200 Download auto subtitles too. Thanks leot for the hint! Diffstat: M subtitle-paste | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- DIR diff --git a/subtitle-paste b/subtitle-paste @@ -14,7 +14,7 @@ url="$1" cd "${pastebase}" tmpfile="$(mktemp -u p-XXXXXXXXXXXXX)" -youtube-dl -q --write-sub --skip-download -o "${tmpfile}" "${url}" 2>/dev/null +youtube-dl -q --write-auto-sub --skip-download -o "${tmpfile}" "${url}" 2>/dev/null ofile="$(basename $(find . -name "${tmpfile}.*"))" [ -z "${ofile}" ] && exit 1