From e5ce1bc4792003844b2ad60fbe2078f2ab8e1ebe Mon Sep 17 00:00:00 2001 From: Victoria Lease Date: Thu, 29 Mar 2012 10:33:39 -0700 Subject: Remove "hl=" parameter from incognito-mode GWS searches. It prevents GWS from honoring Accept-language: headers, and can result in degraded search result quality. Bug: 5777487 Change-Id: Ifee726bc0b3e79be628d288606777969e72c11a0 --- tools/get_search_engines.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/get_search_engines.py b/tools/get_search_engines.py index 86393f1b..17916c80 100755 --- a/tools/get_search_engines.py +++ b/tools/get_search_engines.py @@ -39,9 +39,9 @@ locales = ["cs-CZ", "da-DK", "de-AT", "de-CH", "de-DE", "el-GR", "en-AU", google_data = ["google", "Google", "google.com", "http://www.google.com/favicon.ico", - "http://www.google.com/search?hl={language}&ie={inputEncoding}&source=android-browser&q={searchTerms}", + "http://www.google.com/search?ie={inputEncoding}&source=android-browser&q={searchTerms}", "UTF-8", - "http://www.google.com/complete/search?hl={language}&client=android&q={searchTerms}"] + "http://www.google.com/complete/search?client=android&q={searchTerms}"] class SearchEngineManager(object): """Manages list of search engines and creates locale specific lists. -- cgit v1.2.3