- radiant is being "detected" as mastodon and needs to be skipped
- unless forced, skip any recently checked nodeinfos
cnt = 0
for row in domains:
logger.debug("row[]='%s'", type(row))
+ if not args.force and instances.is_recent(row["domain"], "last_nodeinfo"):
+ logger.debug("row[domain]='%s' has been recently checked - SKIPPED!", row["domain"])
+ continue
+
try:
logger.info("Checking nodeinfo for row[domain]='%s',row[software]='%s' (%s%%) ...", row["domain"], row["software"], "{:5.1f}".format(cnt / len(domains) * 100))
software = federation.determine_software(row["domain"])
if software in ["akkoma", "rebased", "akkounfucked", "ched", "incestoma"]:
logger.debug("Setting pleroma: software='%s'", software)
software = "pleroma"
+ elif "radiant" in software:
+ logger.debug("Setting radiant: software='%s'", software)
+ sofware = "radiant"
elif software in ["hometown", "ecko", "fedibird" ] or "되는 마스토돈" in software or "mastodon" in software:
logger.debug("Setting mastodon: software='%s'", software)
software = "mastodon"