add config.json

This commit is contained in:
2024-06-25 22:59:33 +02:00
parent 7e8f68a5e6
commit af1fc15fdc
3 changed files with 52 additions and 2 deletions

View File

@ -4,7 +4,7 @@
#cp downloaded_r34.txt to_download_r34.txt || exit 1
#try once
#gallery-dl --config ./config.json --input-file-delete to_download_r34.txt
gallery-dl --config ./config.json --input-file-delete to_download_r34.txt
if [ ! -s to_download_r34.txt ]; then
#success! just exit
@ -20,8 +20,10 @@ else
echo "has internet"
fi
exit 0
#try again
#gallery-dl --config ./config.json --input-file-delete to_download_r34.txt
gallery-dl --config ./config.json --input-file-delete to_download_r34.txt
if [ ! -s to_download_r34.txt ]; then
echo "file empty"