Skip to content

unixfox/pupflare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sponsor

Capsolver.com is an AI-powered service that specializes in solving various types of captchas automatically. It supports captchas such as reCAPTCHA V2, reCAPTCHA V3, hCaptcha, FunCaptcha, DataDome, AWS Captcha, Geetest, and Cloudflare Captcha / Challenge 5s, Imperva / Incapsula, among others. For developers, Capsolver offers API integration options detailed in their documentation, facilitating the integration of captcha solving into applications. They also provide browser extensions for Chrome and Firefox, making it easy to use their service directly within a browser. Different pricing packages are available to accommodate varying needs, ensuring flexibility for users.

How to launch

  1. Install NodeJS
  2. npm install
  3. npm start

How to use

Send your request to the server with the port 3000 and add your URL to the "url" query string like this: http://localhost:3000/?url=https://example.org

This script has been configured to wait for the cloudflare challenge to pass but, you can configure the "match" for anything else using the environment variable CHALLENGE_MATCH.
If the website that you are targeting have a protection page with "please wait" in the HTML code then launch the script like this:

CHALLENGE_MATCH="please wait" npm start

To show the browser window, set the environment variable PUPPETEER_HEADFUL=1.

To use a proxy, set the PUPPETEER_PROXY environment variable, for example PUPPETEER_PROXY=localhost:8080.

To specify user data directory, set PUPPETEER_USERDATADIR=/path/to/dir.

To enable debugging: DEBUG=true and debugging with body in the logs: DEBUG_BODY=true

Docker

Available as a Docker image here: https://quay.io/repository/unixfox/pupflare (linux/amd64,linux/arm64)

docker run -d -p 3000:3000 quay.io/unixfox/pupflare

About

A webpage proxy that request through Chromium (puppeteer) - can be used to bypass Cloudflare anti bot / anti ddos on any application (like curl)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published