From 02e0565bee960087f3664caeed5f7fb94d632403 Mon Sep 17 00:00:00 2001 From: xtaodada Date: Tue, 26 Jul 2022 22:41:18 +0800 Subject: [PATCH] fix a bug --- defs/enkaToData.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/defs/enkaToData.py b/defs/enkaToData.py index 1b03734..8f198b3 100644 --- a/defs/enkaToData.py +++ b/defs/enkaToData.py @@ -8,7 +8,7 @@ from defs.sources import PLAYER_PATH, avatarId2Name, avatarName2Element, skillId async def enkaToData(uid: str) -> Optional[str]: - enka_data = await client.get(f'https://enka.shinshin.moe/u/{str(uid)}/__data.json') + enka_data = await client.get(f'https://enka.network/u/{str(uid)}/__data.json') enka_data = enka_data.json() if not enka_data: return None