I have a python script embedded into my document which downloads some data from the Internet. Essentially it works, but I am having trouble with the proxy settings.
I am using urllib.requests
to do my web calls and whenever I am behind a proxy server, my calls fail, i.e., time out. I do have proxy settings in Extras->Options->Internet->Proxy
. How do I access these settings in a python script?
If I don’t have specifc proxy settings but leave the setting at System
, how do I obtain the correct proxy settings for urllib
to work in my LO document?