Closed f0lie closed 6 years ago
I managed not get expectations by adding proxies
to the request.get()
function calls in parallel.py
and base.py
.
@adiep2501 , I've never experienced this. However, I understand some people would need a proxy if they were trying to surf anonymously or for some other reason. requests
can set the proxy as you figured out.
Based on your error, your connection has a proxy server between it right?
You set this as a BUG so were you considering a pull request? Proxies are necessary if someone wants to surf anonymously or for other reasons (control access to outside internet, scan outgoing, etc.) Were you considering a pull request that has an optional proxy parameter?
I see how it can be done but didn't you make a fork. Just curious if you were planning on doing a PR.
I was trying to use it from an corporate environment and they block connections if you don't use the network proxy.
On Sat, Aug 11, 2018, 10:32 AM Linwood Creekmore notifications@github.com wrote:
@adiep2501 https://github.com/adiep2501 , I've never experienced this. However, I understand some people would need a proxy if they were trying to surf anonymously or for some other reason. requests can set the proxy as you figured out http://docs.python-requests.org/en/master/user/advanced/#proxies.
Based on your error https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/407, your connection has a proxy server between it right?
You set this as a BUG so were you considering a pull request? Proxies are necessary if someone wants to surf anonymously or for other reasons (control access to outside internet, scan outgoing, etc.) https://www.quora.com/Why-would-you-need-a-proxy-server Were you considering a pull request that has an optional proxy parameter?
I see how it can be done but didn't you make a fork. Just curious if you were planning on doing a PR.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/linwoodc3/gdeltPyR/issues/51#issuecomment-412282560, or mute the thread https://github.com/notifications/unsubscribe-auth/AIq76lCs-MGbgTxGPhM3GT6zQigSgH2Wks5uPvkfgaJpZM4VyXzN .
I get a proxy error when trying to import the module. This is problematic since you can't pass parameters when importing things (IIRC). Seems like this is the problem bit.