forked from Ponysearch/Ponysearch
8a69ade875
Sometimes there is two requests to google (depending of the source IP) : one to google.com, the second to google.fr (for instance). Going to https://www.google.com/ncr and saving the PREF cookie for future use prevent this (there is no redirection). But, recently (or not ?), by doing this the search returns English results even if the Accept-Language is specified. There is still a way to prevent this : going to preference, set the search language. I don't know if this can be done by searx. For now, a quick fix is to disable the use of the PREF cookie when the search language is not English (google engine will slower but returns excepted results). |
||
---|---|---|
.. | ||
engines | ||
plugins | ||
static | ||
templates | ||
tests | ||
translations | ||
__init__.py | ||
autocomplete.py | ||
languages.py | ||
poolrequests.py | ||
query.py | ||
search.py | ||
settings.yml | ||
settings_robot.yml | ||
testing.py | ||
utils.py | ||
version.py | ||
webapp.py |