Genshin impact HoyoLab's automatic check in Docker image. You can register multiple accounts at once.
-
visit hoyolab.com.
-
log in.
-
presss
F12
open developer tools. -
console
console.log(document.cookie), get '_MHYUUID=a8808267-xxxx-xxxx-xxxx-xxxxxxxxxxxx; mi18nLang=zh-cn; G_ENABLED_IDPS=google; cookie_token=xxxxxxxxxxxxxxxx; account_id=182xxxxxx; ltoken=xxxxxxxxxx; ltuid=182xxxxxx' -
Copy
ltuid
andltoken
from that tab.
docker build ./genshin-auto-daily-check-in-docker
python>=3.9
schedule
genshin
rich
These tokens are examples.
docker run -d
--restart=always
-e ACCOUNT1=13435465,AbCdEFGhIjKLmnoPQRsTUvWxYZ
-e ACCOUNT2=32132132,PQRsTUvWxYZAbCdEFGhIjKLmno
$IMAGE_ID
All environment variables starting with ACCOUNT
.
You must enter the ltuid and ltoken separated by ,
.
The result is as above.
available environment variables | explanation | example |
---|---|---|
ACCOUNT~ | Cookie information. | 13435465,AbCdEFGhIjKLmnoPQRsTUvWxYZ |
SERVER | The language information to use. Default "en-us" | en-us |
TIME | It's time to check in every day. Based on Beijing (UTC+8). Default "01:00" | 01:00 |