Open jokelbaf opened 1 year ago
When retrying request with solved geetest it must be put in headers:
An example of response after successful request to daily endpoint with solved geetest:
{
"retcode": 0,
"message": "OK",
"data": {
"code": "ok",
"first_bind": false,
"gt_result": {
"risk_code": 0,
"gt": "",
"challenge": "",
"success": 0,
"is_risk": false
}
}
}
There is a chance of triggering geetest (captcha) during daily check-in. Although the
retcode
is 0 andmessage
is 'ok',gt_result
object is returned by the API. It is pretty obvious that the library can't solve captcha but it will be really cool if geetest data was returned by genshin.daily.claim() and there was a way to retry this method with solved (manually) geetest.Here is an example response of the request sent to
DAILY_CLAIM_API
(Genshin) endpoint when geetest was triggered:Note: _Looks like
success
ingt_result
is 0 if API accepted solved geetest._