Open KT-Yeh opened 2 years ago
Do they show up immediately after doing the floor and checking the hoyolab app? There used to be a 1-hour delay.
yeah, CharacterRanks show up immediately after I open the hoyolab website.
the time between my bot commands is about 1 minute
This sounds very annoying to debug but I'll see what I can do.
I found the requests are after getGameRecordCard.
I use another UID and the CharacterRanks is empty.
await client.get_record_cards()
data = await client.get_spiral_abyss(client.uid)
print(data.ranks)
After client.get_record_cards()
, the result can show CharacterRanks correctly now.
Guess this should be documented. I don't want to force users to make an extra request arbitrarily.
Does this issue still persist?
How to reproduce:
client.get_spiral_abyss()
functionclient.get_spiral_abyss()
Example