A simple Python script to test a list of HTTP(S) proxies for connectivity, response speed, and basic functionality.
Whether you're scraping, automating tests, or just validating free proxy lists β this tool helps you identify working proxies from any raw list (e.g., from sites like free-proxy-list.net).
- β Tests HTTP & HTTPS proxy support
- β‘ Measures proxy response time
- π Filters out unreachable or broken proxies
- π Saves working proxies to a
.txtfile - π Easy to integrate into scraping/automation pipelines
- Python 3.7+
requestslibrary
Install dependencies:
pip install requestsClone the repository
git clone https://github.com/IsaacTalb/test-your-proxy.git
cd test-your-proxyAdd your proxy list
Edit the script and paste your proxies into the proxy_list section, or load from a file if desired (future update).
python test_proxies.py
Working proxies are printed to console and optionally saved to working_proxies.txt.
[β
] WORKING: 107.173.137.169:6423 β Returned IP: 107.173.137.169
[β] ERROR: 92.113.7.3:6729 β ConnectTimeout
[β] ERROR: 92.113.7.106:6832 β ProxyError
###π‘ Use Cases Validating free proxy lists
Filtering good proxies for scraping tools
Learning about networking, HTTP, and automation
Safe and ethical development/testing environments
This tool is for educational and ethical testing purposes only. Do not use it to access unauthorized services, bypass regional restrictions, or engage in any form of abuse or scraping that violates terms of service.
Use proxies responsibly and legally.
π License MIT License
Pull requests and improvements welcome! If you want to add support for SOCKS proxies, threaded testing, or file input β feel free to contribute. You can also add more proxy ip as well.
β‘ Quickly test large lists of free HTTP(S) proxies to find working ones. Built in Python, ideal for scraping, automation, and educational projects.