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
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
Built Distribution
File details
Details for the file proxytoolkit-2.1.0.tar.gz
.
File metadata
- Download URL: proxytoolkit-2.1.0.tar.gz
- Upload date:
- Size: 17.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0dcee32b5e1dbeddcf00a8425a559f7e3af7d3852f332dc8a111c1ae33b8a8c |
|
MD5 | 40a16a0ceece9351c01df5d1f9ed6be4 |
|
BLAKE2b-256 | 60eab0c7e10deaed8a2db2486cfd818f09886601cadd518bd393d2d92adc5fd8 |
File details
Details for the file ProxyToolKit-2.1.0-py3-none-any.whl
.
File metadata
- Download URL: ProxyToolKit-2.1.0-py3-none-any.whl
- Upload date:
- Size: 18.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12f51c1ceb790a75ae4333765215e1e77eac8fcdfd1c935e7829b30ce3e9e585 |
|
MD5 | 281c5f9c0cc6a710715d9ba57cb0951d |
|
BLAKE2b-256 | 97174169bbc9db263d8e443251840a3de22193f4d4798ee10e0d7dc080e31f9b |