diff options
author | Alexandre Flament <alex@al-f.net> | 2015-04-26 12:04:29 +0200 |
---|---|---|
committer | Alexandre Flament <alex@al-f.net> | 2015-04-26 12:04:29 +0200 |
commit | 201928d2b0d9f7a3a3c3033f7e20838f67a05457 (patch) | |
tree | c6a351393efcc4d5a16546d659d3356f8c10f50e /searx/engines | |
parent | 7cc5146c146d4c20c23b1fc379949cb0ef8dd77b (diff) | |
download | searxng-201928d2b0d9f7a3a3c3033f7e20838f67a05457.tar.gz searxng-201928d2b0d9f7a3a3c3033f7e20838f67a05457.zip |
[fix] SSL : SNI support
Diffstat (limited to 'searx/engines')
-rw-r--r-- | searx/engines/btdigg.py | 4 | ||||
-rw-r--r-- | searx/engines/kickass.py | 4 | ||||
-rw-r--r-- | searx/engines/photon.py | 3 |
3 files changed, 0 insertions, 11 deletions
diff --git a/searx/engines/btdigg.py b/searx/engines/btdigg.py index d0f05ec2d..944250628 100644 --- a/searx/engines/btdigg.py +++ b/searx/engines/btdigg.py @@ -29,10 +29,6 @@ def request(query, params): params['url'] = search_url.format(search_term=quote(query), pageno=params['pageno']-1) - # FIX: SSLError: hostname 'btdigg.org' - # doesn't match either of 'ssl2000.cloudflare.com', 'cloudflare.com', '*.cloudflare.com' - params['verify'] = False - return params diff --git a/searx/engines/kickass.py b/searx/engines/kickass.py index ea7f17c23..9c4639c32 100644 --- a/searx/engines/kickass.py +++ b/searx/engines/kickass.py @@ -34,10 +34,6 @@ def request(query, params): params['url'] = search_url.format(search_term=quote(query), pageno=params['pageno']) - # FIX: SSLError: hostname 'kickass.so' - # doesn't match either of '*.kickass.to', 'kickass.to' - params['verify'] = False - return params diff --git a/searx/engines/photon.py b/searx/engines/photon.py index a9c558c4b..869916cd4 100644 --- a/searx/engines/photon.py +++ b/searx/engines/photon.py @@ -41,9 +41,6 @@ def request(query, params): # using searx User-Agent params['headers']['User-Agent'] = searx_useragent() - # FIX: SSLError: SSL3_GET_SERVER_CERTIFICATE:certificate verify failed - params['verify'] = False - return params |