diff --git a/manual_accounts.csv b/manual_accounts.csv index a062163..ea0fd15 100644 --- a/manual_accounts.csv +++ b/manual_accounts.csv @@ -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, diff --git a/mastodon_cz_accounts.py b/mastodon_cz_accounts.py index b6468ea..482a786 100644 --- a/mastodon_cz_accounts.py +++ b/mastodon_cz_accounts.py @@ -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()