PYPROXIES
Please subscribe to my Github @venaxyt if you want more modules like this.
Pyproxies only returns proxy, it does not print them like on screenshot.
Send a request with http proxy
http_proxy = pyproxies.proxy("http")
proxy_ip = requests.get("https://api.ipify.org", proxies=http_proxy)
print(f" [IP] : {http_proxy}")
Send a request with socks4 proxy
socks4_proxy = pyproxies.proxy("socks4")
proxy_ip = requests.get("https://api.ipify.org", proxies=socks4_proxy)
print(f" [IP] : {socks4_proxy}")
Send a request with socks5 proxy
socks5_proxy = pyproxies.proxy("socks5")
proxy_ip = requests.get("https://api.ipify.org", proxies=socks5_proxy)
print(f" [IP] : {socks5_proxy}")
Informations:
Pyproxies check every proxy it returns, by sending a request to "api.ipify.org", a website which returns requester ip adress. Pyproxies only returns valid proxies whose timeout is less than 10 seconds, you can edit the timeout in the module code. All proxies comes from proxyscrape.com, you can edit the proxies source in the module code too. Thanks for using my modules, @venaxyt.
Metadata
Release files for pyproxies 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyproxies-0.2.tar.gz | 2.4 kB | Details |
Release files / pyproxies-0.2.tar.gz
| Download URL | pyproxies-0.2.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9cf94659a20f29b6c3c6b896754d85723a05e78e7ab69fb16a14a162292edd26
|
|
BLAKE2b-256 checksum How to use checksums |
a4451d312071d662fef5e4552f915a310c465401f0adfc011f987d5bb9651fa6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.7
|