thesadru / genshinstats

PLEASE USE GENSHIN.PY A python library that can get the stats of Genshin Impact players using Mihoyo's API. PLEASE USE GENSHIN.PY
https://thesadru.github.io/pdoc/genshinstats/
MIT License
265 stars 38 forks source link

Probably overseas ds salt has changed #47

Open ghost opened 2 years ago

ghost commented 2 years ago

genshin-20211103-203739-0001-Gi5sGkpa.png I can't convince that the salt is actually changed because it throws an error when I replace old salt to new one.

genshin-20211103-203741-0002-M0wxN6xa.png This is a part of function which generates ds token

thesadru commented 2 years ago

It might be possible that the secret is now being generated using the same method as the Chinese one. I'll look into it as soon as possible.

ghost commented 2 years ago

It might be possible that the secret is now being generated using the same method as the Chinese one. I'll look into it as soon as possible.

Thank you! this is a full version of the function

thesadru commented 2 years ago

It seems like only the random characters have changed but I have no idea how the hell those are being generated. Since the current dynamic secret salt works just fine I think there's no need to bother figuring it out but I'll see if I can somehow crack it at some point.

rushkii commented 2 years ago

Salt has changed to: 6s25p5ox5y14umn1p61aqyyvbvvl3lrt and method to generate DS still the same, just salt has changed.