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
[ -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