From 359e6d23b07cab89cbf0c7da40f6c5f516a0e6da Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 22 May 2023 06:59:42 +0200 Subject: [PATCH] Continued: - both isn't fully supported, only peer-disovery works --- fetch_blocks.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fetch_blocks.py b/fetch_blocks.py index a0a3020..b8cab86 100644 --- a/fetch_blocks.py +++ b/fetch_blocks.py @@ -279,9 +279,11 @@ for blocker, software in fba.cursor.fetchall(): elif software == "misskey": json = fba.get_misskey_blocks(blocker) elif software == "bookwyrm": - json = fba.get_bookwyrm_blocks(blocker) + print("WARNING: bookwyrm is not fully supported for fetching blacklist!", blocker) + #json = fba.get_bookwyrm_blocks(blocker) elif software == "takahe": - json = fba.get_takahe_blocks(blocker) + print("WARNING: takahe is not fully supported for fetching blacklist!", blocker) + #json = fba.get_takahe_blocks(blocker) for block_level, blocks in json.items(): # NOISY-DEBUG: print("DEBUG: blocker,block_level,blocks():", blocker, block_level, len(blocks)) -- 2.39.5