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

Challenge form extraction failed #335

Description

@AL3XAND3R98

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);

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions