A simple script to test if one or more HTTP proxies are working by fetching a webpage.
Project description
# proxytest
[![Build Status](https://travis-ci.org/yoleg/proxytest.svg?branch=master)](https://travis-ci.org/yoleg/proxytest)
[![PyPI version](https://badge.fury.io/py/proxytest.svg)](https://badge.fury.io/py/proxytest)
Simple command-line script to check if multiple proxies are up by fetching a webpage through each.
## Installation:
Requires Python 3 (tested on 3.5 and above).
```
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/
[![Build Status](https://travis-ci.org/yoleg/proxytest.svg?branch=master)](https://travis-ci.org/yoleg/proxytest)
[![PyPI version](https://badge.fury.io/py/proxytest.svg)](https://badge.fury.io/py/proxytest)
Simple command-line script to check if multiple proxies are up by fetching a webpage through each.
## Installation:
Requires Python 3 (tested on 3.5 and above).
```
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.8.tar.gz
(7.4 kB
view hashes)
Built Distribution
proxytest-0.2.8-py3-none-any.whl
(12.8 kB
view hashes)
Close
Hashes for proxytest-0.2.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8831569f5de5c664ed0997193d6417e0c2f513d583baef77f05767642c859c79 |
|
MD5 | c959c75e181e3b8319fd48b341ec294d |
|
BLAKE2b-256 | e4493e933a38a6a77e1fdd2e28db66d2d0c30b66f0b1ee181a01a0c0b0a74330 |