Commit Graph

30 Commits (e0c270bd72f7b2a40222e3ed264e25d36cb0fc30)

Author SHA1 Message Date
marc f62ce21f50 [mod] fetch supported languages for several engines
utils/fetch_languages.py gets languages supported by each engine and
generates engines_languages.json with each engine's supported language.
8 years ago
marc c677aee58a filter langauges 8 years ago
marc 149802c569 [enh] add supported_languages on engines and auto-generate languages.py 8 years ago
Noémi Ványi c59c76e6ee add year to time range to engines which support "Last year"
Engines:
 * Bing images
 * Flickr (noapi)
 * Google
 * Google Images
 * Google News
8 years ago
Adam Tauber 16bdc0baf4 [mod] do not escape html content in engines 8 years ago
Adam Tauber 350a84520d [fix] time range detection 8 years ago
Noemi Vanyi 2e5839503f add time range search for google 8 years ago
stepshal b3ab221b98 Fix anomalous backslash in string 8 years ago
Adam Tauber 85c0351dca Merge pull request #526 from ukwt/anime
Add a few search engines
8 years ago
Kirill Isakov 90c51cb449 Fix a few typos in Google search engine 8 years ago
Adam Tauber 6d55642ab4 [fix] no more redirect ++ explicitly specify search language to avoid googles ip based heuristics 8 years ago
Adam Tauber 09b7673fbd [fix] temporary disable googles inner links - #491 9 years ago
Adam Tauber 66f48c2bf5 [fix] google markup change - closes #489 9 years ago
Adam Tauber 5cea4f9445 [fix] prevent google engine to redirect
nid/pref cookies are also removed
9 years ago
Adam Tauber d8f8bdc951 [fix] quickfix for sometimes missing PREF cookie 9 years ago
Adam Tauber 5d49c15f79 [fix] google engine - ignore new useless result type 9 years ago
Adam Tauber 0ad272c5cb [fix] content escaping - closes #441
TODO check other engines too
9 years ago
Dalf fc0ae0f907 google engine: code cleanup 9 years ago
Dalf 72c8de35a2 google engine :remove OSM map 9 years ago
Alexandre Flament b8fc531b60 [enh] google engine : parse map links and more 9 years ago
Alexandre Flament 39ff21237c [enh] google engine : avoid some "sorry google" by adding another cookie : NID. This cookie is specific by hostname.
This allow to send request to google.* (according to the search language).
Before this commit, request in other languages than english was sent to www.google.com which was redirected to www.google.*
The PREF is still use on the www.google.com domain.
9 years ago
Alexandre Flament 8a69ade875 Revert of #195 when the search language is not english
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).
9 years ago
dalf 0a83be0ec9 [fix] google engine: depending on the IP of the searx instance, each searx request where making two HTTP requests (see https://support.google.com/websearch/answer/873?hl=en ) 10 years ago
Adam Tauber 0f4cb32bf1 [mod] image results removed from google engine 10 years ago
Adam Tauber 611f4e2a86 [fix] pep8 10 years ago
Dalf 5dc3eb3399 [fix] rewrite the google engine since Google Web Search API is about to expire 10 years ago
Thomas Pointhuber 144f89bf78 add comments to google-engines 10 years ago
asciimoo 2a788c8f29 [enh] search language support init 11 years ago
asciimoo ca271fd861 [enh] bing, google paging support 11 years ago
asciimoo 3207a396bd [enh] google engine added 11 years ago