From 99eb846567c8cbac32ea2d26f0567f277241798d Mon Sep 17 00:00:00 2001 From: InigoGutierrez Date: Wed, 3 Nov 2021 21:06:58 +0100 Subject: yotube-dl.sh: Download at best 1080p and with only es, en, ast and pl subs. --- youtube-dl.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'youtube-dl.sh') diff --git a/youtube-dl.sh b/youtube-dl.sh index 3ba508e..d75a580 100755 --- a/youtube-dl.sh +++ b/youtube-dl.sh @@ -1,4 +1,5 @@ #!/bin/sh youtube-dl --add-metadata \ - --write-auto-sub --all-subs --embed-subs --sub-format "srt/best" \ + --format 'best[height<=1080]/best[width<=1920]/bestvideo[height<=1080]+bestaudio/best' \ + --write-auto-sub --sub-lang 'es,en,ast,pl' --embed-subs --sub-format 'srt/best' \ -o "$HOME/downloads/videos/%(title)s.%(ext)s" "$@" -- cgit v1.2.1