Ponysearch/searx/engines
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).
2015-05-01 21:20:09 +02:00
..
__init__.py [enh] default disabled engines - closes #109 2015-01-31 23:11:45 +01:00
bing.py Add bing in the test units 2015-01-25 20:14:37 +01:00
bing_images.py [fix] tests 2015-04-26 19:23:06 +02:00
bing_news.py Bing news engine corrections 2015-01-29 21:19:59 +01:00
blekko_images.py [fix] pep8, tests 2015-02-08 22:01:24 +01:00
btdigg.py [fix] SSL : SNI support 2015-04-26 12:04:29 +02:00
currency_convert.py engines: use https when possible 2015-04-26 18:13:09 +02:00
dailymotion.py Integrated media in results + Deezer Engine 2015-01-05 02:04:23 +01:00
deezer.py engines: use https when possible 2015-04-26 18:13:09 +02:00
deviantart.py Deviant Art's unit test 2015-01-29 01:13:33 +01:00
digg.py Digg's unit test 2015-01-29 00:26:12 +01:00
duckduckgo.py Duckduckgo unit test 2015-02-02 17:55:39 +01:00
duckduckgo_definitions.py DDG Definitions' unit tests 2015-02-09 18:28:08 +01:00
dummy.py [fix] pep8 : engines (errors E121, E127, E128 and E501 still exist) 2014-12-07 16:37:56 +01:00
faroo.py Faroo's unit test 2015-02-07 15:35:12 +01:00
filecrop.py [enh] paging support for filecrop 2014-01-30 01:14:08 +01:00
flickr.py Add thumbnails in images results 2015-01-17 19:21:09 +01:00
flickr_noapi.py Merge branch 'unit-tests' of https://github.com/Cqoicebordel/searx into Cqoicebordel-unit-tests 2015-02-02 09:36:43 +01:00
generalfile.py [fix] pep8 : engines (errors E121, E127, E128 and E501 still exist) 2014-12-07 16:37:56 +01:00
gigablast.py [enh] add gigablast engine 2015-02-08 14:12:14 +01:00
github.py [fix] pep8 : engines (errors E121, E127, E128 and E501 still exist) 2014-12-07 16:37:56 +01:00
google.py Revert of #195 when the search language is not english 2015-05-01 21:20:09 +02:00
google_images.py [enh] set google safesearch filter more restictive 2015-02-08 22:29:26 +01:00
google_news.py Google news' unit test 2015-01-31 16:38:03 +01:00
json_engine.py [mod] len() removed from conditions 2014-02-11 13:13:51 +01:00
kickass.py [fix] SSL : SNI support 2015-04-26 12:04:29 +02:00
mediawiki.py [fix] pep8 2014-12-16 17:10:20 +01:00
mixcloud.py engines: use https when possible 2015-04-26 18:13:09 +02:00
openstreetmap.py Openstreetmap's unit test 2015-02-07 01:15:04 +01:00
photon.py [fix] SSL : SNI support 2015-04-26 12:04:29 +02:00
piratebay.py [fix] piratebay - cloudfare ssl errors 2015-04-07 12:06:07 +02:00
searchcode_code.py Searchcode engines corrections 2015-01-27 22:39:25 +01:00
searchcode_doc.py Searchcode engines corrections 2015-01-27 22:39:25 +01:00
soundcloud.py Integrated media in results + Deezer Engine 2015-01-05 02:04:23 +01:00
spotify.py Add Spotify engine 2015-02-20 18:47:56 +01:00
stackoverflow.py engines: use https when possible 2015-04-26 18:13:09 +02:00
startpage.py Startpage's unit test 2015-02-06 17:31:10 +01:00
subtitleseeker.py Subtitleseeker's unit test 2015-02-06 16:39:59 +01:00
twitter.py Twitter's unit test 2015-02-04 19:39:31 +01:00
vimeo.py engines: use https when possible 2015-04-26 18:13:09 +02:00
wikidata.py [enh] use one single http connection pool : improve response time. close #100 2015-01-21 11:33:16 +01:00
www1x.py [enh] add test for 1x.com 2015-02-01 13:52:43 +01:00
www500px.py 500px unit test 2015-02-01 13:43:10 +01:00
xpath.py Sanitize extract_text 2015-01-25 20:04:44 +01:00
yacy.py Yacy's unit test 2015-02-09 16:55:01 +01:00
yahoo.py [fix] update yahoo engine according to the web site changes 2015-02-20 12:34:13 +01:00
yahoo_news.py [fix] pep8 compatibility 2014-10-19 12:18:21 +02:00
youtube.py Youtube's unit test 2015-01-26 18:24:08 +01:00