constverum / ProxyBroker

Proxy [Finder | Checker | Server]. HTTP(S) & SOCKS :performing_arts:
http://proxybroker.readthedocs.io
Apache License 2.0
3.88k stars 1.09k forks source link

Find types HTTP not actually http #160

Closed AndreVallestero closed 4 years ago

AndreVallestero commented 4 years ago

When finding strictly HTTP proxies, it appears to return proxies that are incompatible with aiohttp which are strictly only able to use http proxies. This generates the following error with aiohttp ValueError: Only http proxies are supported

AndreVallestero commented 4 years ago

Issue was wrong ussage of aiohttp proxy. When using an IP address for aiohttp proxy, the protocol is required for the proxy string definition. I.E: session.get(url, proxy='http://192.168.0.64:8080')