No description
Find a file
Austin Schaefer c150c67f1e Switch search_web from DuckDuckGo HTML scraping to local SearXNG
DuckDuckGo's HTML endpoint rate-limits after enough requests, and a
rate-limited response is indistinguishable from a genuine empty result —
which is exactly what burned a full 12-turn research run on 13 consecutive
"No results found" responses. Swapping to a local SearXNG instance's JSON
API (no HTML scraping needed) fixes both problems: SearXNG spreads queries
across multiple upstream engines instead of hammering one, and this
machine already runs an instance.

This tool is explicitly local-only and never released, so the base URL is
a plain default (localhost:8080) overridable via SEARXNG_URL, not a
general-purpose config surface. Evaluated the two third-party SearXNG
crates on crates.io first (searxng, searxng-client) — both are
single-maintainer v0.1.0 packages with no adoption signal and no official
alternative exists, so a hand-rolled reqwest + serde call was the better
bet for something this small.

Drops the DuckDuckGo-specific HTML parsing (parse_search_results,
resolve_ddg_redirect, the .result/.result__a/.result__snippet scraper
selectors) entirely — fetch_page's extract_readable_text still needs
scraper for arbitrary fetched pages, so that dependency stays.

Adds an #[ignore]'d live smoke test (search_web_returns_real_results_from_local_searxng)
for manually verifying against a running instance; not run by default
since there's no CI environment with SearXNG available.
2026-08-18 12:25:29 +02:00
deep_research Switch search_web from DuckDuckGo HTML scraping to local SearXNG 2026-08-18 12:25:29 +02:00
swear_cleanup refactor: split into a Cargo workspace with per-project dependency sets 2026-08-14 19:43:13 +02:00
.gitignore feat: Introduce two agent flow with profanity verification. 2026-08-05 14:21:38 +02:00
Cargo.lock Prototype an agentic summarizer for max-turns recovery 2026-08-18 11:54:23 +02:00
Cargo.toml feat: stream the report to the terminal as the writer generates it 2026-08-17 12:17:26 +02:00
FINDINGS.md feat: iterative generate/score/revise loop, findings log 2026-08-05 15:07:42 +02:00