From d2378a1e5b26a73882ea0fecc2ad7c3dd4247829 Mon Sep 17 00:00:00 2001 From: Anon Date: Sun, 9 Oct 2022 22:12:30 -0700 Subject: [PATCH] Updated to include additional backends --- default/cfg.py | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/default/cfg.py b/default/cfg.py index e85a853..90d794f 100644 --- a/default/cfg.py +++ b/default/cfg.py @@ -90,11 +90,32 @@ banned_tags = ( settings_backend = { "danbooru_backend": { + "module": "danbooru_backend", "username": None, "password": None, "tmp_dir": settings_behavior["tmp_dir"], - "max_size": settings_behavior["max_size"] - } + "max_size": settings_behavior["max_size"], + "url": "https://danbooru.donmai.us" + }, + # The below backends are still being tested + "konachan_backend": { + "module": "konachan_backend", + "username": None, + "password": None, + "tmp_dir": settings_behavior["tmp_dir"], + "max_size": settings_behavior["max_size"], + "max_depth": 91, + "url": "https://konachan.com" + }, + "gelbooru_backend": { + "module": "gelbooru_backend", + "username": None, + "password": None, + "tmp_dir": settings_behavior["tmp_dir"], + "max_size": settings_behavior["max_size"], + "max_depth": 200, + "url": "https://gelbooru.com" + }, }