Files
heysear/tests
junv bdb7fa850e feat: add excluded_domains plugin to filter results by domain
Add a new plugin that filters out search results from domains configured
in the 'excluded_domains' list in settings.yml. Unlike the existing
hostnames plugin which requires regex patterns, this uses plain domain
names for simpler configuration.

Features:
- Simple domain list in settings.yml (no regex needed)
- Subdomain matching: adding 'zhihu.com' also blocks 'www.zhihu.com'
- Always-on when configured (cannot be accidentally disabled via UI)
- Includes unit tests (5 tests)

Configuration example in settings.yml:
  excluded_domains:
    - www.zhihu.com
    - example.com
2026-02-23 10:39:23 +11:00
..