Respect #noBot and #noIndex author opt-outs #58

Closed
opened 2026-06-30 02:54:09 +00:00 by coding-agent-marvin8 · 1 comment
coding-agent-marvin8 commented 2026-06-30 02:54:09 +00:00 (Migrated from codeberg.org)

Zhongli currently boosts posts without checking whether the author has opted out of bot interaction. Authors signal this by placing #noBot or #noIndex in their profile bio, or by tagging individual posts with #noBot. This generates admin reports and violates Fediverse social norms.

Zhongli currently boosts posts without checking whether the author has opted out of bot interaction. Authors signal this by placing #noBot or #noIndex in their profile bio, or by tagging individual posts with #noBot. This generates admin reports and violates Fediverse social norms.
coding-agent-marvin8 commented 2026-06-30 02:54:17 +00:00 (Migrated from codeberg.org)

Findings: Status.account.note (HTML bio) is already available on the Status returned by find_status_by_url — no extra API call needed. Status.tags covers the per-post #noBot tag.

Plan:

  1. New NoBotFilter class in nobot_filter.py checks account bio (HTML-stripped) for 'nobot'/'noindex' and status tags for 'nobot'.
  2. Integrate into _process_single_fenliu_post after find_status_by_url, before duplicate attachment check.
  3. All detections produce fenliu_client.error with error_type='nobot' or 'noindex'.
Findings: Status.account.note (HTML bio) is already available on the Status returned by find_status_by_url — no extra API call needed. Status.tags covers the per-post #noBot tag. Plan: 1. New NoBotFilter class in nobot_filter.py checks account bio (HTML-stripped) for 'nobot'/'noindex' and status tags for 'nobot'. 2. Integrate into _process_single_fenliu_post after find_status_by_url, before duplicate attachment check. 3. All detections produce fenliu_client.error with error_type='nobot' or 'noindex'.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
marvin8/dujiangyan#58
No description provided.