A fast, multi-threaded proxy scraper that collects proxies from multiple public sources, removes duplicates, and saves them to a single file.
Updated it because I ran out of paid proxies xd. Free ones it is.
- Scrapes from 70+ public proxy sources simultaneously
- Removes duplicate proxies automatically
- Outputs a clean, sorted list ready to use
- Configurable thread count and timeout
- Python 3.10+
requests
Install dependencies:
pip install requests
- Add your source URLs to
links.txt, one per line. - Run the script:
python main.py
- Results are saved to
proxies.txt.
Edit these values at the top of scraper.py:
| Variable | Default | Description |
|---|---|---|
MAX_WORKERS |
30 |
Number of parallel threads |
REQUEST_TIMEOUT |
15 |
Seconds before a request is dropped |
Increase MAX_WORKERS for faster scraping on a good connection. Decrease REQUEST_TIMEOUT to skip slow sources faster.
proxies.txt— all unique proxies inIP:PORTformat, one per line, sorted
The included links.txt contains 70+ sources updated daily or hourly, including:
- TheSpeedX/PROXY-List
- monosans/proxy-list
- ErcinDedeoglu/proxies
- proxifly/free-proxy-list
- ShiftyTR/Proxy-List
- zevtyardt/proxy-list
- proxyscrape.com, proxyspace.pro, spys.me, and more
- This tool only collects and deduplicates proxies. It does not verify whether they are alive or anonymous.
- Proxy availability changes constantly. For best results, run the scraper shortly before you need the proxies.
- Some sources may go offline over time. Remove dead links from
links.txtto keep scraping fast.
This tool is provided for educational and research purposes only. I am not responsible for how you use the proxies collected by this script. Using proxies to bypass restrictions, conduct illegal activities, or violate any terms of service is entirely your own responsibility.
