podaacpy
podaacpy copied to clipboard
Working with proxy
My organization's proxy is blocking file downloads from Python. When downloading files from CDDIS using "requests" library I am able to bypass proxy using the following command
import requests
proxies = { 'http': 'http://proxy.example.com:8080', 'https': 'http://secureproxy.example.com:8090', }
url = 'url://to.cddis.com/file/location'
response = requests.post(url, proxies=proxies)
Is there any possibility of allowing such a proxy variable with podaacpy library? Thank you
Hi @dhkrkh thanks for registering the issue. You could likely augment the configuration in podaac.ini to accomplish this. If you are able to do so, please submit a pull request. I will review it. Thanks
Also, apologies for the late response. I have been away for a while.