cloudscraper
cloudscraper copied to clipboard
hCaptcha
Not really a bug report, but I noticed that cloudflare switched to using hCaptcha instead of reCaptcha. Only update I had to do to my script was to set both g-recaptcha-response and h-captcha-response form fields.
captcha.form['g-recaptcha-response'] = token;
captcha.form['h-captcha-response'] = token;
I'm not sure if you actually do have to set both, or if h-captcha-response is enough, but they do have both fields in their form and just g-recaptcha-response is not enough.
Working or have you found a solution?
It's working fine. But if this is a change that they've made across the board I think some of the examples here needs to be updated :)
I use both lines too