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
428 stars 57 forks source link

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

Open timelis opened 10 months ago

timelis commented 10 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 10 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 10 months ago

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