Skip to main content

Proxy Scraper and Checker

Project description

ProxyToolKit

All New way to check and Scrape Proxy in Detail

ProxyToolKit is a Python script that Scrape Proxy from Multiple websites and return proxy according to users wish
also check Proxy and retun a dict as responce contain [ Porotocol type, Latency, Country, Checked Time, Anonimity ]


ProxyToolKit Contain 2 Classes: ScrapeProxy, CheckProxy

ScrapeProxy Class

This Class used to Scape Proxyies and retun as a list

Install Via pip

pip install ProxyToolKit

Usage:
proxy = ScrapeProxy().scrape(type_)
Print(proxy)
"## responce"
[
    {'ip': ip , 'port':port, 'protocols':protocols, 'country': '', 'anonymity': '', 'latency': '', 'last_checked': '', remote_address: '' },
    {'ip': ip , 'port':port, 'protocols':protocols, 'country': '', 'anonymity': '', 'latency': '', 'last_checked': '', remote_address: '' },
]

Types : ['all','http','https','socks4','socks5']
all: all protocol like 'http','https','socks4','socks5'
http: retune Http Proxys
https: retune Https Proxys
socks4: retune Socks4 Proxys
s socks5: retune Socks5 Proxys

CheckProxy Class

This Class used to Scape Proxyies and retun as a dict: sampel:
{
'status': status,
'proxy': proxy,
'protocols':protocols,
'country': country,
'anonymity': anonymity,
'latency': timeout,
'last_checked': Checked time,
remote_address: Remote address
}

Usage:
proxy = ScrapeProxy().scrape(type_)
Print(proxy)
"## responce"
"[x.x.x.x:port,......]"
result =CheckProxy().check_proxy(proxy:str, check_country=True, check_address=True)
print(result)
### responce:
{
    'status': status,
    'proxy': proxy,
    'protocols':protocols,
    'country': country,
    'anonymity': anonymity,
    'latency': timeout,
    'last_checked': Checked time,
}

Note: cheking proxies one proxy at a time:
*proxy:str = Proxy eg: 'x.x.x.x:0000'
check_country=True; For check which contry the proxy is; By default it set as "True"
check_address=True; For get remote remote address; By default it set as "True"

Up-Coming Update:

[1] Inbuild looping
[2] Inbuild Database For Save Checked Proxies
[3] More Proxys responce
[3] Advanced Details about checked Proxies
[4] Stablized multi threading for faster checking

Donate

USDT (ERC-20) 0xc6fe979f191e251b92f71f35353ae658bff68b80
Ethereum (ERC-20) 0xc6fe979f191e251b92f71f35353ae658bff68b80
Bitcoin (BTC) 1N4dMtYgQCdRFSCcgKXSECxiwndeoqZZ5r


support us on:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

proxytoolkit-2.1.0.tar.gz (17.8 kB view hashes)

Uploaded Source

Built Distribution

ProxyToolKit-2.1.0-py3-none-any.whl (18.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page