From: Roland Häder Date: Sat, 20 May 2023 12:26:02 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cff08cb7be93832b67d7d9707051890d152dd9c5;p=fba.git Continued: - only fetch these, others are WIP --- diff --git a/fetch_instances.py b/fetch_instances.py index e1882cc..fb1ba01 100644 --- a/fetch_instances.py +++ b/fetch_instances.py @@ -60,7 +60,7 @@ fetch_instances(instance) # Loop through some instances fba.c.execute( - "SELECT domain FROM instances WHERE software IS NOT NULL AND (last_nodeinfo IS NULL OR last_nodeinfo < ?) ORDER BY rowid DESC", [time.time() - fba.config["recheck_instance"]] + "SELECT domain FROM instances WHERE software IN ('pleroma', 'mastodon', 'friendica', 'misskey', 'gotosocial') AND (last_nodeinfo IS NULL OR last_nodeinfo < ?) ORDER BY rowid DESC", [time.time() - fba.config["recheck_instance"]] ) for instance in fba.c.fetchall():