This repository was archived by the owner on May 9, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 143
This repository was archived by the owner on May 9, 2020. It is now read-only.
Challenge form extraction failed #335
Copy link
Copy link
Open
Description
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:
- What version of Cloudscraper are you using? 4.6.0
- What version of Node.js are you using? 9.7.1
- When did the problem start occurring? Always
- How often does the problem occur? Always
- What is the URL? https://www.nakedcph.com/en/auth/view?op=register. (works fine on home page)
Please share a minimal working code snippet that reproduces the problem.
Code snippet
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);Metadata
Metadata
Assignees
Labels
No labels