feat: add Google engine (experimental, may be blocked)

Google blocks scrapers — results depend on whether Google serves
a static page or a JS challenge. Set LOCAL_PORTED_ENGINES=google
to enable. Without it, Google is proxied to upstream SearXNG.

Closes #1
This commit is contained in:
Franz Kafka 2026-03-22 01:25:04 +00:00
parent 8ea318ad4a
commit 79e01e0de2
3 changed files with 196 additions and 2 deletions

View file

@ -31,6 +31,7 @@ func NewDefaultPortedEngines(client *http.Client) map[string]Engine {
"duckduckgo": &DuckDuckGoEngine{client: client},
"github": &GitHubEngine{client: client},
"reddit": &RedditEngine{client: client},
"bing": &BingEngine{client: client},
"bing": &BingEngine{client: client},
"google": &GoogleEngine{client: client},
}
}