Browse Source

update tester

Germey 5 years ago
parent
commit
db7a5c2dc6
1 changed files with 3 additions and 2 deletions
  1. 3 2
      proxypool/processors/tester.py

+ 3 - 2
proxypool/processors/tester.py

@@ -4,7 +4,7 @@ from loguru import logger
 from proxypool.schemas import Proxy
 from proxypool.storages.redis import RedisClient
 from proxypool.setting import TEST_TIMEOUT, TEST_BATCH, TEST_URL, TEST_VALID_STATUS
-from aiohttp import ClientProxyConnectionError, ServerDisconnectedError, ClientOSError
+from aiohttp import ClientProxyConnectionError, ServerDisconnectedError, ClientOSError, ClientHttpProxyError
 from asyncio import TimeoutError
 
 
@@ -13,7 +13,8 @@ EXCEPTIONS = (
     ConnectionRefusedError,
     TimeoutError,
     ServerDisconnectedError,
-    ClientOSError
+    ClientOSError,
+    ClientHttpProxyError
 )