making this shit better one line at a time
This commit is contained in:
@ -6,7 +6,6 @@ NO_COLOR="\033[0m" # Text Reset
|
||||
IN_FILE="$1_generated.txt"
|
||||
SUCCESS_FILE="$1_success.txt"
|
||||
FAIL_FILE="$1_failed.txt"
|
||||
BOOL_SUCCESS=0
|
||||
|
||||
if [[ $(hostname) == \s\a\t\a\n ]]; then
|
||||
[[ -d ./Artists ]] || mkdir ./Artists
|
||||
@ -52,8 +51,8 @@ while IFS= read -r line; do
|
||||
path=$(echo "$line" | awk '{print $3}')
|
||||
|
||||
download $url $path
|
||||
|
||||
exit
|
||||
done < "$IN_FILE"
|
||||
|
||||
[[ $(hostname) != \s\a\t\a\n ]] && cp ./gallery-dl/archive-${$1,,}.sqlite3 /data/backup
|
||||
[[ -s $FAIL_FILE ]] && curl -d 'bruh' ntfy.hopeless-cloud.xyz/Hentai
|
||||
|
||||
[[ $(hostname) != \s\a\t\a\n ]] && cp ./gallery-dl/archive-${1,,}.sqlite3 /data/backup
|
||||
|
Reference in New Issue
Block a user