【文件属性】:
文件名称:hooman:http拦截器来实现cloudflare请求
文件大小:365KB
文件格式:ZIP
更新时间:2021-04-13 11:15:04
nodejs scraper recaptcha ddos captcha
流氓
使用HTTP拦截器绕过Node.js上的Cloudflare DDOS保护/ JavaScript挑战
JS-挑战
hCaptcha
hooman并非旨在发送垃圾邮件,请明智地使用它。
安装
# with npm: npm i hooman got
yarn add hooman got
得到的是同伴依赖性
使用范例
获取HTML
const hooman = require ( 'hooman' ) ;
( async ( ) => {
try {
const response = await hooman . get ( 'https://sayem.eu.org' ) ;
console . log ( response . body ) ;
//=> '<!doctype html> ...'
} catch ( error ) {
【文件预览】:
hooman-master
----.gitignore(611B)
----package.json(1KB)
----hooman.js(5KB)
----LICENSE(1KB)
----CHANGELOG.md(2KB)
----.github()
--------ISSUE_TEMPLATE()
--------workflows()
----captcha-test.png(62KB)
----.eslintrc.js(410B)
----README.md(4KB)
----screenshot.png(182KB)
----tests()
--------scrape.js(2KB)
----hCaptcha.png(161KB)
----lib()
--------2captcha.js(2KB)
--------captcha.js(2KB)
--------logging.js(371B)
--------onCaptcha.js(559B)
--------core.js(2KB)
--------delay.js(76B)
----.prettierrc(200B)
----yarn.lock(84KB)