sayem314 / hooman

http interceptor to hoomanize cloudflare requests
https://www.npmjs.com/package/hooman
MIT License
146 stars 18 forks source link

Node >= v14 cause connect ECONNREFUSED 127.0.0.1:443 (eg: await hooman.get('https://www.malt.fr')) #38

Open kopax opened 3 years ago

kopax commented 3 years ago

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.

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

Raphael0010 commented 3 years ago

I have the same problem

kopax commented 3 years ago

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.