canaria3406 / hoyolab-auto-sign

A lightweight, secure, and free script that automatically collect Hoyolab daily check in rewards. Supports Genshin Impact, Honkai Impact 3rd, and Honkai: Star Rail.
MIT License
406 stars 49 forks source link

Why not automate login from email address and password? #32

Open timelis opened 9 months ago

timelis commented 9 months ago

Technically it should be possible, but I don't understand why they don't do it. Is it because you need a Geetest solution?

canaria3406 commented 9 months ago

CAPTCHA is one of the reasons.
The main reason is that the check-in process requires ltoken_v2 & ltuid_v2. If you use an email address and password, an additional step to obtain ltoken_v2 & ltuid_v2 is needed in the process, which increases the risk of being blocked by the server.

timelis commented 9 months ago

thank you. I wonder why no one has released the code to get ltoken and ltuid from email address and password.