Closed themanyfaceddemon closed 2 months ago
Hi! First off, thank you for your contribution. Overall your PR looks pretty good, I just went ahead and made some small changes:
https://api.ipify.org/?format=json
which is a bit more lightweight.Exception
when we fail to use the proxy, now raise a ConnectionError
.self.session.proxies = self.proxy
Thank you!
Thanks for the clarification, I just haven’t worked with requests very much.
This PR adds the ability to specify a proxy for requests. I'm not sure about some parts of the code, but I hope everything will be stable.