fix a bug
This commit is contained in:
parent
bc9f581226
commit
02e0565bee
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user