linkindle
linkindle copied to clipboard
Proxy & linkpy
Hello,
Is there a way to define a proxy while using Linkpy ?
Thanks :)
Hi! :)
Unfortunately I haven't tested this, but I'm just using requests so you should be able to define some environment variables to do that:
On *NIX:
$ export HTTP_PROXY="http://your_proxy_url:port"
$ export HTTPS_PROXY="http://your_proxy_url:port"
On Windows:
set http_proxy=http://your_proxy_url:port
set https_proxy=http://your_proxy_url:port
Or something like that. Hope that helps!
Unfortunately, i'm on a professional computer where i'm not allowed to do this. I use "px" as proxy in those cases, but it need to be specified in a "proxies" variable when calling Request.
Thanks for your reply !
Please treat my message as a feature request. :)