summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2016-09-05 22:35:54 +0200
committerAdam Tauber <asciimoo@gmail.com>2016-09-05 22:35:54 +0200
commitb27f07af2366db61ad8754005f8138f980606196 (patch)
tree6e05b7b48c1ad07196ecd03355a3e90b7e00c82d
parentda4f1c25126ac15e38f428ed1469c4d1d9b149d3 (diff)
[enh] socks proxy support
-rw-r--r--requirements.txt2
-rw-r--r--searx/settings.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/requirements.txt b/requirements.txt
index 0d2f61b00..029c0cffa 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -9,4 +9,4 @@ pygments==2.1.3
pyopenssl==0.15.1
python-dateutil==2.5.3
pyyaml==3.11
-requests==2.10.0
+requests[socks]==2.10.0
diff --git a/searx/settings.yml b/searx/settings.yml
index 2c034a863..c0422d95a 100644
--- a/searx/settings.yml
+++ b/searx/settings.yml
@@ -25,7 +25,7 @@ outgoing: # communication with search engines
pool_maxsize : 10 # Number of simultaneous requests by host
# uncomment below section if you want to use a proxy
# see http://docs.python-requests.org/en/latest/user/advanced/#proxies
-# SOCKS proxies are not supported : see https://github.com/kennethreitz/requests/pull/478
+# SOCKS proxies are also supported: see http://docs.python-requests.org/en/master/user/advanced/#socks
# proxies :
# http : http://127.0.0.1:8080
# https: http://127.0.0.1:8080