codemanki / cloudscraper

--DEPRECATED -- 🛑 🛑 Node.js library to bypass cloudflare's anti-ddos page
MIT License
602 stars 139 forks source link

Challenge form extraction failed #335

Open AL3XAND3R98 opened 4 years ago

AL3XAND3R98 commented 4 years ago

Cloudflare may have changed their technique, or there may be a bug.\n### Bug Reports: https://github.com/codemanki/cloudscraper/issues\n### Check the detailed exception message that follows for the cause.\n\nChallenge form extraction failed

Please attempt to answer the following questions before submitting a new issue:

Please share a minimal working code snippet that reproduces the problem.

Code snippet ```js var headers = { 'authority': 'www.nakedcph.com', 'pragma': 'no-cache', 'cache-control': 'no-cache', 'upgrade-insecure-requests': '1', 'user-agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.122 Safari/537.36', 'sec-fetch-dest': 'document', 'accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9', 'sec-fetch-site': 'none', 'sec-fetch-mode': 'navigate', 'sec-fetch-user': '?1', 'accept-language': 'en-GB,en-US;q=0.9,en;q=0.8,fr;q=0.7', }; let url = 'https://www.nakedcph.com/en/auth/view?op=register'; var options = { method: "get", uri: url, headers: headers, // Removes a few problematic TLSv1.0 ciphers to avoid CAPTCHA }; cloudscraper(options).then(console.log).catch(console.error); ```