From c2e754b5456c454ed6bb08a9a525a40ef16e6ec4 Mon Sep 17 00:00:00 2001 From: Kyomotoi <Kyomotoiowo@gmail.com> Date: Fri, 1 Oct 2021 13:39:46 +0800 Subject: =?UTF-8?q?=F0=9F=9A=91=EF=B8=8F=20=E7=B4=A7=E6=80=A5=E5=88=A0?= =?UTF-8?q?=E9=99=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ATRI/utils/request.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ATRI/utils/request.py b/ATRI/utils/request.py index c208bbf..8dec9c7 100644 --- a/ATRI/utils/request.py +++ b/ATRI/utils/request.py @@ -2,10 +2,10 @@ import httpx async def get(url: str, **kwargs): - async with httpx.AsyncClient(proxies=proxy) as client: + async with httpx.AsyncClient() as client: return await client.get(url, **kwargs) async def post(url: str, **kwargs): - async with httpx.AsyncClient(proxies=proxy) as client: + async with httpx.AsyncClient() as client: return await client.post(url, **kwargs) -- cgit v1.2.3