download links individually (as opposted to a "batch") to discover which video failed and why

This commit is contained in:
Pratham Patel 2023-08-27 23:31:41 +05:30
parent db4f3207f7
commit 67e8a808b7
No known key found for this signature in database

View File

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