From 5f6d8a82d602e313b29ad5872ac6c22bd9b0a975 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 22 May 2023 03:00:24 +0200 Subject: [PATCH] Continued: - sorted nodeinfo API URLs by version - added 1.0 --- fba.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/fba.py b/fba.py index 8a89b86..03800f2 100644 --- a/fba.py +++ b/fba.py @@ -130,9 +130,10 @@ def fetch_nodeinfo(domain: str) -> list: requests = [ f"https://{domain}/nodeinfo/2.1.json", - f"https://{domain}/nodeinfo/2.0", - f"https://{domain}/nodeinfo/2.0.json", f"https://{domain}/nodeinfo/2.1", + f"https://{domain}/nodeinfo/2.0.json", + f"https://{domain}/nodeinfo/2.0", + f"https://{domain}/nodeinfo/1.0", f"https://{domain}/api/v1/instance" ] -- 2.39.5