Revert of #195 when the search language is not english
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).
asciimoo/searx,pointhi/searx,framasoft/searx,jcherqui/searx,misnyo/searx,PwnArt1st/searx,dalf/searx,dalf/searx,gugod/searx,asciimoo/searx,potato/searx,matejc/searx,potato/searx,misnyo/searx,pointhi/searx,dzc34/searx,dzc34/searx,gugod/searx,jcherqui/searx,jibe-b/searx,kdani3/searx,matejc/searx,gugod/searx,kdani3/searx,PwnArt1st/searx,framasoft/searx,jpope777/searx,asciimoo/searx,asciimoo/searx,dalf/searx,jcherqui/searx,PwnArt1st/searx,jpope777/searx,pointhi/searx,kdani3/searx,potato/searx,jpope777/searx,misnyo/searx,jpope777/searx,misnyo/searx,GreenLunar/searx,jibe-b/searx,dalf/searx,potato/searx,jibe-b/searx,dzc34/searx,GreenLunar/searx,pointhi/searx,matejc/searx,framasoft/searx,GreenLunar/searx,gugod/searx,dzc34/searx,PwnArt1st/searx,jibe-b/searx,matejc/searx,GreenLunar/searx,kdani3/searx,framasoft/searx,jcherqui/searx