1
0
Fork 0

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
1 changed files with 9 additions and 6 deletions

View File

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