proxy-forwarder
HTTP proxy pool server primarily meant for evading IP whitelists.
Setup
- Create a file named
proxies.txtand fill it with yourHTTPproxies. - Replace the
AUTH_KEYconstant in server.py with something secure. - Set your firewall to allow TCP port
5407. - 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())