This Python script checks a list of proxies for connectivity and saves the working proxies to an output file.
- Validates proxies from a text file (
proxies.txt
). - Configuration settings managed via
config.ini
for timeout and file paths. - Simple and easy-to-use.
- Ensure Python 3.x is installed.
- Modify
config.ini
to set your preferred timeout and file paths. - Run
proxychk.py
to start checking proxies and save it onoutput.txt
.
timeout
: Timeout duration (in seconds) for each proxy check.proxies_file
: Path to the text file containing the list of proxies.output_file
: Path to the output file where working proxies will be saved.
[Settings]
timeout = 5
input_file = proxies.txt
output_file = output.txt