cf-clearance-scraper
cf-clearance-scraper copied to clipboard
Captcha solver does not seem to do anything at all? code: 500
I am trying to use it in mode=captcha with a simple target page https://peet.ws/turnstile-test/managed.html but I keep getting a code: 500, Request Time out. I can see Chrome opening up in headful mode, but does nothing further. I am using my home residential ip address, and have no trouble solving the captcha if I click on it, but the script itself doesn't seem to try to attempt to solve the captcha.
What am I missing? What's the right way to use this project to get a token for a turnstile captcha on a page? (in both headful and headless mode)
fetch('http://localhost:3000/cf-clearance-scraper', {
method: 'POST',
headers: {
'Content-Type': 'application/json'
},
body: JSON.stringify({
url: 'https://peet.ws/turnstile-test/managed.html', // Link to engrave
mode:"captcha", // gets waf or captcha values
})
}).then(res => res.json()).then(console.log).catch(console.error)
Output:
{ code: 500, message: 'Request Timeout' }
I confirm the same. No matter what link other than "https://nopecha.com/demo/cloudflare" is used - script return 500 error.
The library has been updated. It should now run smoothly. I am closing this issue, please let me know if you have any problems by writing a message through this issue. Thank you.