Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hooman not working for new captcha page #18

Closed
1 task done
christophernarciso opened this issue May 27, 2020 · 3 comments
Closed
1 task done

Hooman not working for new captcha page #18

christophernarciso opened this issue May 27, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@christophernarciso
Copy link

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.
@sayem314 sayem314 added the bug Something isn't working label May 27, 2020
@sayem314
Copy link
Owner

Thanks for the report. Published version 1.2.5 with fix :)

@christophernarciso
Copy link
Author

Thank you for the fix!

@Webuser6666
Copy link

Thanks for the report. Published version 1.2.5 with fix :)

pls update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants