From f253afa1bfef1c4310ae16ab0a579351f54b8c43 Mon Sep 17 00:00:00 2001 From: Mint <> Date: Sat, 3 Sep 2022 16:06:10 +0300 Subject: [PATCH] +1 pisskey fork --- fetch_blocks.py | 2 +- fetch_instances.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"]