mirror of
https://github.com/wahyd4/heysear.git
synced 2026-08-08 21:05:28 +10:00
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