Skip to content

Fail to bypass cloudflare #23

@tambdc-self

Description

@tambdc-self

Describe the bug

  • Hooman version: 1.2.5
  • Node.js version: 12LTS
  • OS & version: Win10

Actual behavior

print cloudflare page

Expected behavior

print html page

Code to reproduce

(async () => {
try {
const response = await hooman.get('http://www.javlibrary.com/ja');
console.log(response.body);
//=> '<!doctype html> ...'
} catch (error) {
console.log(error.response.body);
//=> 'Internal server error ...'
}
})();

Checklist

  • I have tried my code with the latest version of Node.js and hooman.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions