]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Mon, 22 May 2023 01:00:24 +0000 (03:00 +0200)
committerRoland Häder <roland@mxchange.org>
Mon, 22 May 2023 01:00:24 +0000 (03:00 +0200)
- sorted nodeinfo API URLs by version
- added 1.0

fba.py

diff --git a/fba.py b/fba.py
index 8a89b864b3ea54c5bab684ecc21313b7ac82cfa0..03800f2841a7725dcacdedadddc35b88c0e44c97 100644 (file)
--- 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"
     ]