From 3dd2d5ff3e1ff06e3e2bd11ca751ba5c5d3a6550 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 22 May 2023 07:02:54 +0200 Subject: [PATCH] Continued: - older versions are okay, too! --- fba.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fba.py b/fba.py index 6f9dc73..8a35af5 100644 --- a/fba.py +++ b/fba.py @@ -181,7 +181,7 @@ def fetch_wellknown_nodeinfo(domain: str) -> list: # NOISY-DEBUG: print("DEBUG: Found links in nodeinfo():", len(nodeinfo["links"])) for link in nodeinfo["links"]: # NOISY-DEBUG: print("DEBUG: rel,href:", link["rel"], link["href"]) - if link["rel"] in ["http://nodeinfo.diaspora.software/ns/schema/2.0", "http://nodeinfo.diaspora.software/ns/schema/2.1"]: + if link["rel"] in ["http://nodeinfo.diaspora.software/ns/schema/1.0", "http://nodeinfo.diaspora.software/ns/schema/1.1", "http://nodeinfo.diaspora.software/ns/schema/2.0", "http://nodeinfo.diaspora.software/ns/schema/2.1"]: # NOISY-DEBUG: print("DEBUG: Fetching nodeinfo from:", link["href"]) res = reqto.get(link["href"]) # NOISY-DEBUG: print("DEBUG: href,res.ok:", link["href"], res.ok) -- 2.39.5