hooman
hooman copied to clipboard
Node >= v14 cause connect ECONNREFUSED 127.0.0.1:443 (eg: await hooman.get('https://www.malt.fr'))
Describe the bug
I can't use iot at all.
Afer some digging, it seems this is related to got
, and got says it's related to something else.
Looking at the code, I think it's because got
(and this module), is not compatible with newest node version.
- Hooman version: 1.2.6
- Node.js version: 14
- OS & version: Debian Buster
Actual behavior
I am trying to scrap my malt.fr profile and this appeared to be a good client to bypass it's cloudflare security.
Running hooman.get('https://www.malt.fr')
is throwing error: connect ECONNREFUSED 127.0.0.1:443
Expected behavior
I expect to get a code 200
to this request.
Code to reproduce
await hooman.get('https://www.malt.fr')
Checklist
- [x] I have tried my code with the latest version of Node.js and hooman.
I have the same problem
I gave up using hooman
, I use cloudscraper
, it work fine for malt but I have tried another site with another cloudflare challenge and it doesn't work with it. I still hope this can be fixed.