diff --git a/src/danbooru_backend.py b/src/danbooru_backend.py index 3aaa79e..abba1ad 100644 --- a/src/danbooru_backend.py +++ b/src/danbooru_backend.py @@ -43,7 +43,6 @@ def is_banned(post, profile): return None - def get_nsfw(post): return post["rating"] in ("q", "e") @@ -120,7 +119,6 @@ class downloader: search_request = requests.get(search_url) if search_request.status_code != 200: - print(search_url) print("Search request returned:", search_request.status_code) return None diff --git a/src/gelbooru_backend.py b/src/gelbooru_backend.py index 6d64f04..88a473d 100644 --- a/src/gelbooru_backend.py +++ b/src/gelbooru_backend.py @@ -37,12 +37,10 @@ def is_banned(post, profile): tag_banned = profile["banned_tags"] for tag in tag_banned: if tag in tag_response: - print(tag) return tag return None - def get_nsfw(post): return post["rating"] in ("questionable", "explicit")