fix: manuální účty přeskakují quality filtr; přidán archlinux@mamutovo.cz

This commit is contained in:
2026-04-04 12:02:56 +02:00
parent 7977b276d7
commit 42558bb855
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -97,3 +97,4 @@ nacelnik01@mamutovo.cz,true,false,
sledge@mastodonczech.cz,true,false,
tensob_@mastodonczech.cz,true,false
archos@gts.arch-linux.cz,true,false,
archlinux@mamutovo.cz,true,false,
1 medvidekpu@mastodon.social true false
97 sledge@mastodonczech.cz true false
98 tensob_@mastodonczech.cz true false
99 archos@gts.arch-linux.cz true false
100 archlinux@mamutovo.cz true false
+2 -1
View File
@@ -175,6 +175,7 @@ def load_manual_accounts(seen_handles=None):
seen_handles.add(handle.lower())
acc["_handle"] = handle
acc["_source_instance"] = instance
acc["_manual"] = True
accounts.append(acc)
log.debug(f" {handle}: OK ({acc.get('followers_count', 0)} followers)")
time.sleep(RATE_LIMIT_DELAY)
@@ -245,7 +246,7 @@ def extract_tags(acc):
def build_output(raw):
results = []
for acc in raw:
if not passes_quality(acc):
if not acc.get("_manual") and not passes_quality(acc):
continue
handle = acc.get("_handle", acc.get("acct", ""))
bio = re.sub(r"<[^>]+>", " ", acc.get("note", "") or "").strip()