]> git.mxchange.org Git - fba.git/commitdiff
In case Gleason renames his fork in API endpoints
authorMint <>
Thu, 25 Aug 2022 17:32:07 +0000 (20:32 +0300)
committerMint <>
Thu, 25 Aug 2022 17:32:46 +0000 (20:32 +0300)
fetch_blocks.py
fetch_instances.py

index 9fb517c4605242acde53eec0410c4f63cc265281..99983e614e7e05e47d702a0ca5f506d52a9a16f8 100644 (file)
@@ -96,6 +96,8 @@ def get_type(domain: str) -> str:
         if res.ok:
             if res.json()["software"]["name"] == "akkoma":
                 return "pleroma"
+            elif res.json()["software"]["name"] == "rebased":
+                return "pleroma"
             elif res.json()["software"]["name"] == "hometown":
                 return "mastodon"
             elif res.json()["software"]["name"] == "ecko":
index e6090353e4e75fbdb2c03e579714ae1367b9a0db..4151145b53ff9dfe714f58733d6ab60d73f727d3 100644 (file)
@@ -36,6 +36,8 @@ def get_type(instdomain: str) -> str:
         if res.ok:
             if res.json()["software"]["name"] == "akkoma":
                 return "pleroma"
+            elif res.json()["software"]["name"] == "rebased":
+                return "pleroma"
             elif res.json()["software"]["name"] == "hometown":
                 return "mastodon"
             elif res.json()["software"]["name"] == "ecko":