cf-clearance-scraper icon indicating copy to clipboard operation
cf-clearance-scraper copied to clipboard

Captcha solver does not seem to do anything at all? code: 500

Open epicwhale opened this issue 1 year ago • 1 comments
trafficstars

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' }
image

epicwhale avatar Jul 27 '24 20:07 epicwhale

I confirm the same. No matter what link other than "https://nopecha.com/demo/cloudflare" is used - script return 500 error.

Notum avatar Aug 04 '24 08:08 Notum

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.

mdervisaygan avatar Aug 28 '24 16:08 mdervisaygan