From: Mint <> Date: Sat, 3 Sep 2022 13:06:10 +0000 (+0300) Subject: +1 pisskey fork X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f253afa1bfef1c4310ae16ab0a579351f54b8c43;p=fba.git +1 pisskey fork --- diff --git a/fetch_blocks.py b/fetch_blocks.py index f79f394..d59de98 100644 --- a/fetch_blocks.py +++ b/fetch_blocks.py @@ -166,7 +166,7 @@ def get_type(domain: str) -> str: return "pleroma" elif res.json()["software"]["name"] in ["hometown", "ecko"]: return "mastodon" - elif res.json()["software"]["name"] in ["calckey", "groundpolis"]: + elif res.json()["software"]["name"] in ["calckey", "groundpolis", "foundkey"]: return "misskey" else: return res.json()["software"]["name"] diff --git a/fetch_instances.py b/fetch_instances.py index 6dcf9ab..f3fd40e 100644 --- a/fetch_instances.py +++ b/fetch_instances.py @@ -38,7 +38,7 @@ def get_type(instdomain: str) -> str: return "pleroma" elif res.json()["software"]["name"] in ["hometown", "ecko"]: return "mastodon" - elif res.json()["software"]["name"] in ["calckey", "groundpolis"]: + elif res.json()["software"]["name"] in ["calckey", "groundpolis", "foundkey"]: return "misskey" else: return res.json()["software"]["name"]