[enh] socks proxy support
commitb27f07af2366db61ad8754005f8138f980606196
authorAdam Tauber <asciimoo@gmail.com>
dateMon 5 Sep 2016, 22:35 (10 years ago)
parentda4f1c2
requirements.txt+1−1
@@ -9,4 +9,4 @@ pygments==2.1.3
99pyopenssl==0.15.1
1010python-dateutil==2.5.3
1111pyyaml==3.11
12−requests==2.10.0
12+requests[socks]==2.10.0
searx/settings.yml+1−1
@@ -25,7 +25,7 @@ outgoing: # communication with search engines
2525 pool_maxsize : 10 # Number of simultaneous requests by host
2626# uncomment below section if you want to use a proxy
2727# see http://docs.python-requests.org/en/latest/user/advanced/#proxies
28−# SOCKS proxies are not supported : see https://github.com/kennethreitz/requests/pull/478
28+# SOCKS proxies are also supported: see http://docs.python-requests.org/en/master/user/advanced/#socks
2929# proxies :
3030# http : http://127.0.0.1:8080
3131# https: http://127.0.0.1:8080