MhankBarBar / anime-game-stats

Anime Game Stats is a Python script that retrieves statistics and information from Hoyoverse games. Also Anime Game Stats can do auto check-in and auto redeem codes.
25 stars 11 forks source link

Cookie are not valid. #8

Closed azrielbsi closed 9 months ago

azrielbsi commented 9 months ago

Getting this error "genshin.errors.InvalidCookies: [-100] Cookies are not valid."

MhankBarBar commented 9 months ago

are you following this instruction? you need to add cookie (with json format) on github repository secret

azrielbsi commented 9 months ago

are you following this instruction? you need to add cookie (with json format) on github repository secret

Yes, I have followed the instructions given but the results are still the same

MhankBarBar commented 9 months ago

the json key and value need to be update because hoyolab using new cookie (v2)

just update like this

{"ltuid_v2": "...", "ltoken_v2": "...", "cookie_token_v2": "...", "account_id_v2": "...", "ltmid_v2": "..."}
azrielbsi commented 9 months ago

Thanks sir for the help, and it seems that the redeem code does not work

MhankBarBar commented 9 months ago

problem solved and redeem code things have been fixed, so i close this issue