skip to Main Content

Set proxy on docker – CentOS

Im using centos 7.7 and docker 19.03. I cannot pull images and getting : Error response from daemon: Get https://registry-1.docker.io.v2./: dial tcp lookup : server misbehaving I did what all guides on google suggested: cat /etc/systemd/system/docker.service.d/http-proxy.conf [Service] Enviroment="HTTP_PROXY=http://myproxy" systemctl deamon…

VIEW QUESTION

Use proxy with Tweepy – Twitter API

I want to use proxy (with/without auth) with Twitter API via Tweepy in Python Reading the documentation I tried something (I think really wrong) like this: auth = tweepy.OAuthHandler(consumer_key, consumer_secret) auth.set_access_token(access_token, access_token_secret) api = tweepy.API(auth, proxy='1.2.3.4:1234') But obviously didn't work

VIEW QUESTION
Back To Top
Search