From ba18bb944589af77d3bd08add320a97a79f78592 Mon Sep 17 00:00:00 2001 From: CMHopeSunshine <277073121@qq.com> Date: Sat, 16 Jul 2022 13:40:04 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8Denka=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=97=A0=E6=B3=95=E8=8E=B7=E5=8F=96=E6=95=B0=E6=8D=AE?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Paimon_Info/get_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Paimon_Info/get_data.py b/Paimon_Info/get_data.py index 85abaec..15ba07f 100644 --- a/Paimon_Info/get_data.py +++ b/Paimon_Info/get_data.py @@ -232,7 +232,7 @@ async def get_enka_data(uid): for _ in range(3): try: url = f'https://enka.shinshin.moe/u/{uid}/__data.json' - resp = await aiorequests.get(url=url) + resp = await aiorequests.get(url=url, follow_redirects=True) data = resp.json() return data except Exception: