From 66f48c2bf5b84f6f7b52b1ba7217a1aadf5717b7 Mon Sep 17 00:00:00 2001 From: Adam Tauber Date: Sun, 10 Jan 2016 18:49:50 +0100 Subject: [fix] google markup change - closes #489 --- searx/engines/google.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searx/engines') diff --git a/searx/engines/google.py b/searx/engines/google.py index e82260356..e6dacc3a8 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -90,7 +90,7 @@ url_map = 'https://www.openstreetmap.org/'\ search_path = '/search' search_url = ('https://{hostname}' + search_path + - '?{query}&start={offset}&gbv=1&gws_rd=cr') + '?{query}&start={offset}&gbv=1&gws_rd=ssl') # other URLs map_hostname_start = 'maps.google.' @@ -99,7 +99,7 @@ redirect_path = '/url' images_path = '/images' # specific xpath variables -results_xpath = '//li[@class="g"]' +results_xpath = '//div[@class="g"]' url_xpath = './/h3/a/@href' title_xpath = './/h3' content_xpath = './/span[@class="st"]' -- cgit v1.2.3