summaryrefslogtreecommitdiff
path: root/searx/engines/google.py
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-01-10 18:49:50 +0100
committerAdam Tauber <asciimoo@gmail.com>2016-01-10 18:49:50 +0100
commit66f48c2bf5b84f6f7b52b1ba7217a1aadf5717b7 (patch)
tree28bd79ae185ce8682908f45b5427d8e7a6b84599 /searx/engines/google.py
parent44c7eac958ea01d981ed4e31e10f51d9059f7945 (diff)
downloadsearxng-66f48c2bf5b84f6f7b52b1ba7217a1aadf5717b7.tar.gz
searxng-66f48c2bf5b84f6f7b52b1ba7217a1aadf5717b7.zip
[fix] google markup change - closes #489
Diffstat (limited to 'searx/engines/google.py')
-rw-r--r--searx/engines/google.py4
1 files changed, 2 insertions, 2 deletions
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"]'