Hooman not working for new captcha page
christophernarciso opened this issue · comments
Describe the bug
- Hooman version: "hooman": "^1.2.4"
- Node.js version: v14.3.0
- OS & version: Windows 10 Pro
- Application Environment: WebStorm IDE by Jetbrains node environment app execution
Actual behavior
Failure to return body of a new captcha challenge page. Resulting in error catching.
Captcha page source: https://gist.github.com/christophernarciso/df3a3a8a0602b8426c42d0f64d8f276a
Expected behavior
Should pass through the new captcha page with no issue and return the body of the page.
Code to reproduce
// Node environment testing
(async function main() {
try {
const url = 'https://osbot.org/forum/topic/157064-excellent-vorkath/';
const source = await hooman.get(url);
console.log(source.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.
Thanks for the report. Published version 1.2.5 with fix :)
Thank you for the fix!
Thanks for the report. Published version 1.2.5 with fix :)
pls update