Skip to content

A proxy server to bypass cloudflare I am under attack mode using playwright, written in python

License

Notifications You must be signed in to change notification settings

midatindex0/cloudfire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cloudfire

Cloudfire is a reverse proxy to bypass cloudflare's javascript challenge (I'm under attack mode) using playwright.

How it works

Cloudfire uses playwright to solve cloudflare challenges and stores the cookies internally (redis can also be used). It then uses those cookies for further requests using aiohttp. Whenever the response returns a 503/403 status, it uses playwright to again solve the challenge and the cycle continues.

Installation

git clone https://github.com/lonely-code-cube/cloudfire
cd cloudfire
pip install -r requirements.txt
playwright install firefox

Starting the server

uvicorn main:app

By default the server will run at port 8000.

Usage

Endpoints

/get

Method: POST

Post body:

url: The url to make a get request

About

A proxy server to bypass cloudflare I am under attack mode using playwright, written in python

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published