diff options
author | Adam Tauber <asciimoo@gmail.com> | 2017-12-18 21:54:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-18 21:54:45 +0100 |
commit | 943404a1033d7683d3d9f3dbed92780fa7e1bca4 (patch) | |
tree | a5aa7bb280c6e5279630bc9cb902afd2578d06da | |
parent | d2b489cddad63af795e5a678c58c9678946fdb08 (diff) | |
parent | 2d5eed9b5925d94f582576940c968c0c8adb4b98 (diff) | |
download | searxng-943404a1033d7683d3d9f3dbed92780fa7e1bca4.tar.gz searxng-943404a1033d7683d3d9f3dbed92780fa7e1bca4.zip |
Merge pull request #1121 from kvch/add-cookie-to-reqs
Fix google searches
-rw-r--r-- | searx/engines/google.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/searx/engines/google.py b/searx/engines/google.py index 47a560aac..0a8678362 100644 --- a/searx/engines/google.py +++ b/searx/engines/google.py @@ -187,6 +187,8 @@ def request(query, params): else: google_hostname = default_hostname + # original format: ID=3e2b6616cee08557:TM=5556667580:C=r:IP=4.1.12.5-:S=23ASdf0soFgF2d34dfgf-_22JJOmHdfgg + params['cookies']['GOOGLE_ABUSE_EXEMPTION'] = 'x' params['url'] = search_url.format(offset=offset, query=urlencode({'q': query}), hostname=google_hostname, |