diff --git a/get-from-yt.sh b/get-from-yt.sh index 06f8b94..e7a52a1 100755 --- a/get-from-yt.sh +++ b/get-from-yt.sh @@ -4,9 +4,12 @@ set -xeu [ -d out ] && rm -rf out mkdir out -yt-dlp \ - --config-location "${HOME}/.config/yt-dlp/norm_config" \ - --external-downloader aria2c \ - --no-write-subs \ - --paths out \ - --batch-file links +while read -r LINK; do + yt-dlp \ + --config-location "${HOME}/.config/yt-dlp/norm_config" \ + --external-downloader aria2c \ + --no-write-subs \ + --paths out \ + "${LINK}" + sync +done < links