mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 00:32:06 +08:00
Update http_utils.py
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ import httpx
|
|||||||
|
|
||||||
class AsyncHttpx:
|
class AsyncHttpx:
|
||||||
|
|
||||||
proxy = {"http://": get_local_proxy()}
|
proxy = {"http://": get_local_proxy(), "https://": get_local_proxy()}
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
@retry(stop_max_attempt_number=3)
|
@retry(stop_max_attempt_number=3)
|
||||||
|
|||||||
Reference in New Issue
Block a user