A checker designed in Python 3.7 for checking proxy.
If you need proxies, you can use this script Proxy Grabber
This script takes a proxy as string input and tries to get data such as:
- type (HTTP, SOCKS4, SOCKS5)
- time response (in seconds)
- anonymity (Anonymous or Transparent)
- country
- city
- country code
pip install proxy-checking
from proxy_checking import ProxyChecker
checker = ProxyChecker()
r = checker.check_proxy('<ip>:<port>')
print(r)
if proxy is valid, will be return dictionary
{
"status": True,
"type": ["socks4", "socks5"],
"time_response": "0.545",
"anonymity": "Anonymous",
"country": "Germany",
"city": "Falkenstein",
"country_code": "DE"
}
if proxy is not valid
{
"status": False
}