diff options
| author | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-12-15 19:37:58 +0100 |
|---|---|---|
| committer | Thomas Pointhuber <thomas.pointhuber@gmx.at> | 2014-12-15 19:37:58 +0100 |
| commit | 70fc1002db030aba3447006e49433662c330e343 (patch) | |
| tree | 3ba19f6d7c7528d8192eb9d3fd58744552823297 /searx/search.py | |
| parent | e047d22046e9f4b5cff80c9ec9ee321b209641cb (diff) | |
[fix] fix kickass engine
thanks @Cqoicebordel in #144:
https://github.com/asciimoo/searx/pull/144#issuecomment-67036903
Diffstat (limited to 'searx/search.py')
| -rw-r--r-- | searx/search.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/searx/search.py b/searx/search.py index 4058cba20..5e036ccca 100644 --- a/searx/search.py +++ b/searx/search.py @@ -59,7 +59,7 @@ def threaded_requests(requests): # get default reqest parameter def default_request_params(): return { - 'method': 'GET', 'headers': {}, 'data': {}, 'url': '', 'cookies': {}} + 'method': 'GET', 'headers': {}, 'data': {}, 'url': '', 'cookies': {}, 'verify': True} # create a callback wrapper for the search engine results @@ -469,7 +469,8 @@ class Search(object): headers=request_params['headers'], hooks=dict(response=callback), cookies=request_params['cookies'], - timeout=engine.timeout + timeout=engine.timeout, + verify=request_params['verify'] ) # specific type of request (GET or POST) |