summaryrefslogtreecommitdiff
path: root/searx/network/client.py
diff options
context:
space:
mode:
Diffstat (limited to 'searx/network/client.py')
-rw-r--r--searx/network/client.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/searx/network/client.py b/searx/network/client.py
index 23826c75..d819139b 100644
--- a/searx/network/client.py
+++ b/searx/network/client.py
@@ -10,7 +10,11 @@ import threading
from typing import Any, Dict
import httpx
-from httpx_socks import AsyncProxyTransport
+#from httpx_socks import AsyncProxyTransport
+class AsyncProxyTransport:
+ def __init__(self, *args, **kwargs):
+ raise NotImplementedError
+
from python_socks import parse_proxy_url, ProxyConnectionError, ProxyTimeoutError, ProxyError
from searx import logger