]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Mon, 22 May 2023 05:02:54 +0000 (07:02 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 22 May 2023 05:02:54 +0000 (07:02 +0200)
- older versions are okay, too!

fba.py

diff --git a/fba.py b/fba.py
index 6f9dc73e77351fc212bf99dffce69475b86170e0..8a35af5062304a5ddd10208ad1592805c079643b 100644 (file)
--- 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)