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.
http_proxy = pyproxies.proxy("http")
proxy_ip = requests.get("https://api.ipify.org", proxies=http_proxy)
print(f" [IP] : {http_proxy}")
socks4_proxy = pyproxies.proxy("socks4")
proxy_ip = requests.get("https://api.ipify.org", proxies=socks4_proxy)
print(f" [IP] : {socks4_proxy}")
socks5_proxy = pyproxies.proxy("socks5")
proxy_ip = requests.get("https://api.ipify.org", proxies=socks5_proxy)
print(f" [IP] : {socks5_proxy}")
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.
Documentation : https://pypi.org/project/pyproxies