Open stefanches7 opened 4 months ago
As an intermittent solution one can modify environment variables too:
On linux you can also do this via the HTTP_PROXY, HTTPS_PROXY, and FTP_PROXY environment variables:
export HTTP_PROXY=10.10.1.10:3128
export HTTPS_PROXY=10.10.1.11:1080
export FTP_PROXY=10.10.1.10:3128
On Windows:
set http_proxy=10.10.1.10:3128
set https_proxy=10.10.1.11:1080
set ftp_proxy=10.10.1.10:3128
Source: https://stackoverflow.com/questions/8287628/proxies-with-python-requests-module
Thanks for this suggestion. Any chance you'd be up for submitting a PR? :-)
The easy customization of the requests API parameters worked well for my setup