[GH-ISSUE #668] [FEATURE] ?country HTTP parameter #425

Closed
opened 2026-02-25 20:35:44 +03:00 by kerem · 2 comments
Owner

Originally created by @Albonycal on GitHub (Feb 23, 2022).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/668

I know the parameters were added for usage with farside, but I don't use the default session / config thing because it's not reliable, the configs resets on it's own sometimes.
It'd be nice to set different config options using parameters.
afaik currently these are available safe, nojs, tor, get_only, block_url, accept_language, block, q, near, new_tab, url, alts, view_image, block_title I'd like a country= parameter
for. ex country=IN

Originally created by @Albonycal on GitHub (Feb 23, 2022). Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/668 I know the parameters were added for usage with farside, but I don't use the default session / config thing because it's not reliable, the configs resets on it's own sometimes. It'd be nice to set different config options using parameters. afaik currently these are available `safe, nojs, tor, get_only, block_url, accept_language, block, q, near, new_tab, url, alts, view_image, block_title` I'd like a `country=` parameter for. ex `country=IN`
kerem 2026-02-25 20:35:44 +03:00
Author
Owner

@benbusby commented on GitHub (Feb 23, 2022):

country= is already supported. The full list of valid url params (that are relevant to config settings) are in the safe_keys list in config.py:

github.com/benbusby/whoogle-search@c3634a5135/app/models/config.py (L33-L43)

<!-- gh-comment-id:1048975191 --> @benbusby commented on GitHub (Feb 23, 2022): `country=` is already supported. The full list of valid url params (that are relevant to config settings) are in the `safe_keys` list in config.py: https://github.com/benbusby/whoogle-search/blob/c3634a513528eb33e9caa6a2742d6024d399791c/app/models/config.py#L33-L43
Author
Owner

@Albonycal commented on GitHub (Feb 24, 2022):

hmm, oh wait yea my mistake
I was using &?country instead of &country
Thanks 😅

<!-- gh-comment-id:1049614615 --> @Albonycal commented on GitHub (Feb 24, 2022): hmm, oh wait yea my mistake I was using `&?country` instead of `&country` Thanks :sweat_smile:
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/whoogle-search#425
No description provided.