diff options
Diffstat (limited to 'searx/poolrequests.py')
-rw-r--r-- | searx/poolrequests.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/searx/poolrequests.py b/searx/poolrequests.py index f9a9d7719..9f0ee8736 100644 --- a/searx/poolrequests.py +++ b/searx/poolrequests.py @@ -95,7 +95,8 @@ def request(method, url, **kwargs): session = SessionSinglePool() # proxies - kwargs['proxies'] = settings['outgoing'].get('proxies') or None + if kwargs.get('proxies') is None: + kwargs['proxies'] = settings['outgoing'].get('proxies') # timeout if 'timeout' in kwargs: |