move gallery-dl stuff to own folder

This commit is contained in:
2024-07-09 01:41:35 +02:00
parent 1ef3acf6d9
commit 96ab731e57
5 changed files with 5 additions and 57 deletions

View File

@ -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}"