move gallery-dl stuff to own folder
This commit is contained in:
@ -6,13 +6,13 @@ NO_COLOR="\033[0m" # Text Reset
|
||||
|
||||
setup_test() {
|
||||
[[ ! -d ./Artists ]]
|
||||
rm -rf archive*.sqlite3 ./log.txt ./Artists/* || exit 1
|
||||
rm -rf ./gallery-dl/*.sqlite3 ./gallery-dl/log.txt ./Artists/* || exit 1
|
||||
}
|
||||
|
||||
download() {
|
||||
while [ 1 ]
|
||||
do
|
||||
gallery-dl --config ./config.json --input-file-delete $1
|
||||
gallery-dl --config ./gallery-dl/config.json --input-file-delete $1
|
||||
|
||||
if [ ! -s $1 ]; then
|
||||
echo -e "${IGREEN}file empty${NO_COLOR}"
|
||||
|
Reference in New Issue
Block a user