diff --git a/gallery-dl/config.json b/gallery-dl/config.json index dd40cdd..c622d0d 100644 --- a/gallery-dl/config.json +++ b/gallery-dl/config.json @@ -11,11 +11,11 @@ "filename": "{md5}.{extension}", "directory": ["{search_tags}", "Rule34"] }, - "kemono": + "kemonoparty": { "archive": "./archive-kemono.sqlite3", - "filename": "{md5}.{extension}", + "filename": "{id}_{num:>03}.{extension}", "directory": ["{user}", "Kemono"] } }, diff --git a/gallery-dl/gallery-dl.sh b/gallery-dl/gallery-dl.sh index e9048c4..1359373 100755 --- a/gallery-dl/gallery-dl.sh +++ b/gallery-dl/gallery-dl.sh @@ -6,8 +6,7 @@ NO_COLOR="\033[0m" # Text Reset setup_test() { [[ ! -d ./Artists ]] - rm -f ./archive.sqlite3 ./archive-rule34.sqlite3 ./log.txt || exit 1 - rm -rf ./Download/* || exit 1 + rm -rf archive*.sqlite3 ./log.txt ./Artists/* || exit 1 } download() {