mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-26 04:35:54 +03:00
[GH-ISSUE #1099] [FEATURE] Fallback to custom search provider #673
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#673
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @moritzfl on GitHub (Nov 18, 2023).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/1099
Fallback to custom search provider if whoogle breaks
When whoogle fails to pull the results from google, it would be good to have the option to be forwarded to an alternative search engine with the search query that whoogle received.
https://whoogle.example.com/search?q=fail -> "It seems like whoogle is broken at the moment, would you like to continue on ecosia?" -> click "Yes" -> https://www.ecosia.org/search?q=fail
Additional context
I have whoogle set up as the default search engine for all devices in our household and at work.
While this only happened to me once so far, whoogle can and will eventually break when google introduces incompatible changes. In this case, the user has to switch open another search engine and reenter the search text. Or even worse - reconfigure the default search engine and perhaps not switch it back afterwards ;)
@GGLVXD commented on GitHub (Nov 26, 2023):
So can i make it auto redirect to google when ever its ratelimited kr someting
@benbusby commented on GitHub (Dec 20, 2023):
I just pushed a change that addresses this in a slightly different way. Rather than having users configure a specific fallbacks, the error page has been updated to display a list of other search providers (including Google), and also will appear after any exception occurs in the app (rather than only appearing when ratelimited). I think this is a simpler approach since it doesn't require anyone to define a new environment variable, and also allows users to try out multiple other options if they don't like the results they get from another source.