An Simple Tool for Validate Proxy
Project description
proxy-inspector
A Simple Tool for Validate Proxy
Usage
validater = ProxyInspector()
# if response code is 200, return true
print(validater.validate("https://www.bing.com/","{{PROXY_HOST:PROXY_PORT}}"))
# if response code is 200 and response content contain "User-agent", return true
print(validater.validate("https://www.bing.com/robots.txt","{{PROXY_HOST:PROXY_PORT}}", "User-agent"))
# if response code is 200 and response content not contain "I'm Robot", return true
print(validater.validate("https://www.bing.com/robots.txt","{{PROXY_HOST:PROXY_PORT}}", None, "I'm Robot"))
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for proxy_inspector-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 334d8d429e589564cebfaa4514f996bc5c43a8865ce3e63d8eeaa3cc9939bdd1 |
|
MD5 | f129a2a55a2a859ac6e82e54d4a4ea5e |
|
BLAKE2b-256 | 315d0597ca986e4da7759e2636bfddf581a72bb1af203e4f8653a571fda44002 |