-
Notifications
You must be signed in to change notification settings - Fork 0
Guide on how to get your cookies
This will be moved to the app site once available.
You are suggested to use the web page login method to get the cookies automatically for you.
-
ltuid
andltoken
- Or
account_id
andcookie_token
- Or
ltmid_v2
andltoken_v2
- Or
account_mid_v2
andcookie_token_v2
-
For players on the CN server (miHoYo/米游社), visit the Wiki page (recommended) or the home of the Genshin Impact section on the miHoYo website. For those on the global server (HoYoLAB), turn to this web page.
-
Clear cookies and refresh the web page.
-
Log in to your account.
-
After successful login, open the developer tools in your browser, navigate to the
Console
tab, type indocument.cookie
, and pressEnter
. -
Copy the result without quotation marks.
For example, if the result of
document.cookie
is'ltuid=12345678;ltoken=abcdefg;xxx=ooo'
, you need to copyltuid=12345678;ltoken=abcdefg;xxx=ooo
.
It is usually because the required cookies are HTTP only and cannot be retrieved by document.cookie
. In this case, you will need to navigate to the Application
tab, scroll to the Cookies
section, and assemble your cookies manually with each cookie in the format of <name>=<value>;
.