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
Describe the bug
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