Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/unixfox/pupflare
A webpage proxy that request through Chromium (puppeteer) - can be used to bypass Cloudflare anti bot / anti ddos on any application (like curl)
https://github.com/unixfox/pupflare
anti-bot-page chromium cloudflare cloudflare-bypass cloudflare-scrape docker koa protected-page proxy puppeteer scrape scraping-websites
Last synced: 29 days ago
JSON representation
A webpage proxy that request through Chromium (puppeteer) - can be used to bypass Cloudflare anti bot / anti ddos on any application (like curl)
- Host: GitHub
- URL: https://github.com/unixfox/pupflare
- Owner: unixfox
- License: wtfpl
- Created: 2020-05-22T17:57:59.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-09-20T12:26:44.000Z (about 2 months ago)
- Last Synced: 2024-09-30T15:31:11.526Z (about 1 month ago)
- Topics: anti-bot-page, chromium, cloudflare, cloudflare-bypass, cloudflare-scrape, docker, koa, protected-page, proxy, puppeteer, scrape, scraping-websites
- Language: JavaScript
- Homepage:
- Size: 42 KB
- Stars: 362
- Watchers: 14
- Forks: 80
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sponsor
# How to launch pupflare
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
```