Closed ahmadkeren closed 2 years ago
Hoyolab account for that user: https://www.hoyolab.com/accountCenter/postList?id=19423466
Doesn't look public to me
I've noticed this as well. I think it might have to do with the recent hoyolab update or maintenance (?). The old "public" button in the profile page is no longer there. I enable "Show my Battle ... profile" but it somehow gets disabled automatically later. Even when it's enabled, I still cannot access the information through this API. By the time I'm writing this, it's still enabled in the hoyolab page and hopefully you could check. uid: 623198312 hoyolab id page: https://www.hoyolab.com/accountCenter/postList?id=124620422
Interesting. genshinstats seems to be able to access the data but genshin.py isn't. Seems super random.
thanks for the response. yeah I noticed it because I couldn't submit battle record to the spiralabyss.org website but they don't respond in github issues XD
I am guessing this must be based on something super weird like some random header. I'll try to look into it but I'm completely lost as to what this could be caused by.
i see, thx! so will this command "spiral_abyss = gs.get_spiral_abyss(uid, previous=True)" still work again? you mentioned genshinstats can still access the data but isn't this command based on genshinstats?
It works for me
even for my uid? data = gs.get_user_stats(623198312) this line returns DataNotPublic: User's data is not public
Oh, that's weird. I don't seem to be getting an error at all.
This issue should now be resolved after the hoyolab server migration. Try updating genshinstats to 1.4.11.1
.
Excuse me... I check UID: 803049088, and the server said "User's data is not public". But i already publish my battle cronicle (https://webstatic-sea.mihoyo.com/app/community-game-records-sea/index.html?bbs_presentation_style=fullscreen&bbs_auth_required=true&v=101&gid=2&user_id=19423466&lang=id-id#/ys)