Skip to content
This repository has been archived by the owner on May 9, 2020. It is now read-only.

Challenge form extraction failed #335

Open
1 task done
AL3XAND3R98 opened this issue Mar 9, 2020 · 0 comments
Open
1 task done

Challenge form extraction failed #335

AL3XAND3R98 opened this issue Mar 9, 2020 · 0 comments

Comments

@AL3XAND3R98
Copy link

AL3XAND3R98 commented Mar 9, 2020

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);
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant