summaryrefslogtreecommitdiff
path: root/searx/search.py
diff options
context:
space:
mode:
authorAlexandre Flament <alex@al-f.net>2020-11-16 12:44:07 +0100
committerAlexandre Flament <alex@al-f.net>2020-11-20 15:29:21 +0100
commit3786920df975b11c0feb7d8564eb19b634d32977 (patch)
tree3d0bdc1fb29ef3a5a400dd78960cc2cae22f8e1a /searx/search.py
parent2fc3b17c85512280173bb47f449cc2faa64b0501 (diff)
downloadsearxng-3786920df975b11c0feb7d8564eb19b634d32977.tar.gz
searxng-3786920df975b11c0feb7d8564eb19b634d32977.zip
[enh] Add multiple outgoing proxies
credits go to @bauruine see https://github.com/searx/searx/pull/1958
Diffstat (limited to 'searx/search.py')
-rw-r--r--searx/search.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/searx/search.py b/searx/search.py
index 1cb2a603b..b8ada3901 100644
--- a/searx/search.py
+++ b/searx/search.py
@@ -119,7 +119,7 @@ def send_http_request(engine, request_params):
# setting engine based proxies
if hasattr(engine, 'proxies'):
- request_args['proxies'] = engine.proxies
+ request_args['proxies'] = requests_lib.get_proxies(engine.proxies)
# specific type of request (GET or POST)
if request_params['method'] == 'GET':