feat: add DuckDuckGo and Google News backends to alert plugin
DuckDuckGo (dg) searches via HTML lite endpoint with HTMLParser, resolves DDG redirect URLs to actual targets. Google News (gn) queries public RSS feed, parses RFC 822 dates. Both routed through SOCKS5 proxy via _urlopen. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -345,11 +345,12 @@ No API credentials needed (uses public GQL endpoint).
|
||||
!alert history <name> [n] # Show recent results (default 5)
|
||||
```
|
||||
|
||||
Searches keywords across YouTube (yt), Twitch (tw), SearXNG (sx), Reddit (rd),
|
||||
and Mastodon/Fediverse (ft) simultaneously. Names: lowercase alphanumeric + hyphens,
|
||||
1-20 chars. Keywords: 1-100 chars. Max 20 alerts/channel. Polls every 5min.
|
||||
Format: `[name/yt] Title -- URL`, `[name/rd] Title -- URL`, etc.
|
||||
No API credentials needed. Persists across restarts. History stored in `data/alert_history.db`.
|
||||
Searches keywords across 7 backends: YouTube (yt), Twitch (tw), SearXNG (sx),
|
||||
Reddit (rd), Mastodon (ft), DuckDuckGo (dg), Google News (gn). Names: lowercase
|
||||
alphanumeric + hyphens, 1-20 chars. Keywords: 1-100 chars. Max 20 alerts/channel.
|
||||
Polls every 5min. Format: `[name/yt] Title -- URL`, etc. No API credentials needed.
|
||||
DuckDuckGo and Google News route through SOCKS5 proxy. Persists across restarts.
|
||||
History stored in `data/alert_history.db`.
|
||||
|
||||
## SearX
|
||||
|
||||
|
||||
Reference in New Issue
Block a user