You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this module behind a proxy and had to make some slight modifications for it to work.
So I'd suggest to check the environment for a proxy and set it in httplib2 using PySocks:
importhttplib2# detect presense of proxy and use env varibles if they existpi=httplib2.proxy_info_from_environment()
ifpi:
importsockssocks.setdefaultproxy(pi.proxy_type, pi.proxy_host, pi.proxy_port)
socks.wrapmodule(httplib2)
I'm using this module behind a proxy and had to make some slight modifications for it to work.
So I'd suggest to check the environment for a proxy and set it in httplib2 using PySocks:
source: https://stackoverflow.com/a/46206122
The text was updated successfully, but these errors were encountered: