mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-25 12:15:50 +03:00
[GH-ISSUE #144] [QUESTION] Setting options via query string #104
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#104
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 @Rudi9719 on GitHub (Nov 3, 2020).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/144
Is it possible to set config options (like Language, dark mode or region) via the search query?
/search?lang=English&dark=True&q=Test&ie=UTF-8
@benbusby commented on GitHub (Nov 3, 2020):
Currently, no, but I'm open to the idea. I don't think I'd want to support the full suite of configuration settings as search params, but things like dark mode/language/region should be fine. What's the use case for something like this? I can see it being useful for public instances of whoogle, but I'm curious what you had in mind.
@Rudi9719 commented on GitHub (Nov 4, 2020):
https://whoogle.sdf.org - I'm constantly changing the language/region back to English, as SDF is international and has multiple people using your amazing project! I've overriden the default search bar in Chrome, and KDE to use SDF's public whoogle instance
@benbusby commented on GitHub (Nov 11, 2020):
Added in
72cbc342af. Once this is merged into a release build, I can reach out to SDF to see if they'd mind updating to the version with this fix (or they can cherry pick that commit into their current instance, if they read this).In your use case, I think setting the query as
/search?q=%s&dark=1&lang_interface=lang_en&lang_interface=lang_enshould work. I'll do a more in depth wiki write up once this is merged into master. Thanks for the recommendation!@Rudi9719 commented on GitHub (Nov 17, 2020):
Sorry to necro, but I wanted to reach out and say THANK YOU SO MUCH!!! I also reached out to SDF's Membership/Admins.
@benbusby commented on GitHub (Nov 17, 2020):
No problem! I'm happy to help.