A simple script to test if one or more HTTP proxies are working by fetching a webpage.
Project description
# proxytest
Simple command-line script to check if multiple proxies are up by fetching a webpage through each.
## Installation:
Requires Python 3.4 or above.
```
pip3 install proxytest
```
or
```
python3 -m pip install proxytest
```
## Usage examples:
```
proxytest 1.2.3.4:8080 1.2.3.4:8081
proxytest 1.2.3.4:8080-8081 # same as above
proxytest "http://user:pass@exampleproxy.com:3128" "111.222.333.444:8080-8082" "111.222.333.444:8085-8090" --verbose
proxytest "1.2.3.4:1234" --url="https://example.com" --print
proxytest --help
python3 -m proxytest --version
```
## Exit codes:
* 0 - all proxy requests succeeded
* 1 - one or more proxy requests failed
* 2 - could not test proxies (e.g. due to input error or system error)
## Links:
Homepage: https://github.com/yoleg/proxytest
A list of free proxies that may be useful for testing (not verified or in any way associated with this project): https://hidemyna.me/en/proxy-list/
Simple command-line script to check if multiple proxies are up by fetching a webpage through each.
## Installation:
Requires Python 3.4 or above.
```
pip3 install proxytest
```
or
```
python3 -m pip install proxytest
```
## Usage examples:
```
proxytest 1.2.3.4:8080 1.2.3.4:8081
proxytest 1.2.3.4:8080-8081 # same as above
proxytest "http://user:pass@exampleproxy.com:3128" "111.222.333.444:8080-8082" "111.222.333.444:8085-8090" --verbose
proxytest "1.2.3.4:1234" --url="https://example.com" --print
proxytest --help
python3 -m proxytest --version
```
## Exit codes:
* 0 - all proxy requests succeeded
* 1 - one or more proxy requests failed
* 2 - could not test proxies (e.g. due to input error or system error)
## Links:
Homepage: https://github.com/yoleg/proxytest
A list of free proxies that may be useful for testing (not verified or in any way associated with this project): https://hidemyna.me/en/proxy-list/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
proxytest-0.2.7.tar.gz
(7.2 kB
view hashes)
Built Distribution
proxytest-0.2.7-py3-none-any.whl
(12.6 kB
view hashes)
Close
Hashes for proxytest-0.2.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c7a9dae52244b6ef365f8cfbee0dac065c89a8efa3997a2b327369cbb201dee |
|
MD5 | bc61ef8a1e0fa7f225f59baed9930be6 |
|
BLAKE2b-256 | 4edbd0ff873467e7ccd8e1a222e91076d6ebd8d11aab3157f316025049a0eed5 |