# written to database. Both arrays must be filled at the same time or else
# update_nodeinfos() will fail
nodeinfos = {
- # Detection mode: AUTO_DISCOVERY or STATIC_CHECKS
+ # Detection mode: 'AUTO_DISCOVERY', 'STATIC_CHECKS' or 'GENERATOR'
+ # NULL means all detection methods have failed (maybe still reachable instance)
"detection_mode": {},
# Found nodeinfo URL
"nodeinfo_url": {},
# NOISY-DEBUG: print("DEBUG: Found generator meta tag: ", domain)
software = tidyup(tag.get("content"))
# NOISY-DEBUG: print(f"DEBUG: software='{software}'")
+ nodeinfos["detection_mode"] = "GENERATOR"
remove_pending_error(domain)
except BaseException as e: