proxy-forwarder

HTTP proxy pool server primarily meant for evading IP whitelists.

Setup

  1. Create a file named proxies.txt and fill it with your HTTP proxies.
  2. Replace the AUTH_KEY constant in server.py with something secure.
  3. Set your firewall to allow TCP port 5407.
  4. Run server.py.

Usage

import requests

#         proxy index       auth key
#                   v              v
proxy_url = "http://0:[email protected]:5407"

resp = requests.get(
    url="https://api.ipify.org/?format=json",
    proxies={"https": proxy_url}
)
print(resp.json())

GitHub

View Github