summaryrefslogtreecommitdiff
path: root/searx/engines
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-04-26 13:12:04 -0400
committerAdam Tauber <asciimoo@gmail.com>2015-04-26 13:12:04 -0400
commit18e7d6070275fbc48aef3d84a7f69811541e1fe5 (patch)
tree0b8b649f5c504c945d787650ea947ad282ac39e4 /searx/engines
parentff68546c69b68c4f83eb843f3ecb5789358d2f32 (diff)
parent187617498a0dea17e51950f1ad5e96bb4826367d (diff)
downloadsearxng-18e7d6070275fbc48aef3d84a7f69811541e1fe5.tar.gz
searxng-18e7d6070275fbc48aef3d84a7f69811541e1fe5.zip
Merge pull request #298 from dalf/ssl
[fix] SSL : SNI support
Diffstat (limited to 'searx/engines')
-rw-r--r--searx/engines/btdigg.py4
-rw-r--r--searx/engines/kickass.py4
-rw-r--r--searx/engines/photon.py3
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