Open Sinderella opened 7 years ago
Thing is why would someone need to use proxy? If there are use cases, then why not!
We should probably respect the http_proxy environment variable on Unix systems if it's set. I don't know requests already respects this though.
Either way, we should add this as a command line argument anyway.
Might need a new object for this as I don't want to do this every request.
req.get(url, proxies=self.proxies)
Do it later then :laughing:
Just HTTP proxy or socks as well? socks will require more dependency, see http://docs.python-requests.org/en/master/user/advanced/#socks
It wouldn't be hard though
As the searchers are all using self.session, it's easy to add proxy support.