diff options
| author | a01200356 <a01200356@itesm.mx> | 2016-01-10 19:29:05 -0600 |
|---|---|---|
| committer | a01200356 <a01200356@itesm.mx> | 2016-01-10 19:29:05 -0600 |
| commit | 4130b3dfd640d4e4f88937e79648cfe7929dca43 (patch) | |
| tree | baeb2d7460e23f42d5899ca91fa45daf8f825771 /searx/engines/google.py | |
| parent | 3bbdb23fd86a65d9c982aa34ee42326fa3dd9bc1 (diff) | |
| parent | 6a158ca2d2c5fdec597f1025c58fad90a57312dc (diff) | |
Merge branch 'master' of https://github.com/asciimoo/searx
Conflicts:
searx/tests/test_engines.py
Diffstat (limited to 'searx/engines/google.py')
| -rw-r--r-- | searx/engines/google.py | 4 |
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"]' |