GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - GhostTypes/cloudscraper-server: Local proxy server for cloudscraper

BranchesTags
Open more actions menu

Latest commit

 

History

33 Commits
33 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
.jules
.jules
 
 
tests
tests
 
 
.gitignore
.gitignore
 
 
.releaserc
.releaserc
 
 
CHANGELOG.md
CHANGELOG.md
 
 
Dockerfile
Dockerfile
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
docker-compose.yml
docker-compose.yml
 
 
package.json
package.json
 
 
requirements.txt
requirements.txt
 
 
server.py
server.py
 
 

Repository files navigation

cloudscraper-proxy

A simple local proxy server, powered by cloudscraper library

This allows you to easily bypass Cloudflare "restrictions" in your project, without having to add additional code


Getting Started

Step Instructions
1. Modify Your Requests Instead of directly requesting a URL like:
https://www.google.com

Point it to your local proxy server:
http://localhost:5000/api/proxy/https://www.google.com
(Replace 5000 if you change the default port)
2. Start the Proxy Server Run the Python server:
python server.py

That's it! Your project can now make requests through the proxy.


Configuration

Want to change the port? Easy!

Edit the server.py file at the bottom:

if __name__ == "__main__":
    print('Starting Cloudflare bypass proxy server...')
    from waitress import serve
    # Change the port here
    serve(app, host="0.0.0.0", port=5000)

Docker & Make Commands

The project includes several make commands to help manage the Docker container

Command Description
make build Build the Docker image
make run Run the Docker container (defaults to port 5000)
make up Build and run in one go
make clean Stop and remove the container
make logs View container logs
make restart Restart the container
make status Check container status

You can change the port and container settings by editing the variables at the top of the makefile.

About

Local proxy server for cloudscraper

Topics

cloudscraperproxyproxy-server

Resources

Readme
Activity

Stars

10 stars

Watchers

1 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.