mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
Update http_utils.py
This commit is contained in:
parent
58acb14859
commit
65d8fae9ca
@ -18,7 +18,7 @@ import httpx
|
||||
|
||||
class AsyncHttpx:
|
||||
|
||||
proxy = {"http://": get_local_proxy()}
|
||||
proxy = {"http://": get_local_proxy(), "https://": get_local_proxy()}
|
||||
|
||||
@classmethod
|
||||
@retry(stop_max_attempt_number=3)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user