add config.json
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user