No recent searches
Popular Articles
Sorry! nothing found for
Posted about 7 years ago by spektro
Does anybody knows why the code proposed on the site: does not work in python 2.7?
Every time you run this code I get 407 !!!!
import requests url = "http://httpbin.org/ip" proxy_host = "proxy.crawlera.com" proxy_port = "8010" proxy_auth = "<APIKEY>:" proxies = {"https": "https://{}@{}:{}/".format(proxy_auth, proxy_host, proxy_port), "http": "http://{}@{}:{}/".format(proxy_auth, proxy_host, proxy_port)} r = requests.get(url, proxies=proxies, verify=False, allow_redirects=False)
please help!
0 Votes
nestor posted about 7 years ago Admin Best Answer
Please see this solution: https://support.scrapinghub.com/support/discussions/topics/22000008783
1 Comments
nestor posted about 7 years ago Admin Answer
Login to post a comment
People who like this
This post will be deleted permanently. Are you sure?
Does anybody knows why the code proposed on the site: does not work in python 2.7?
Every time you run this code I get 407 !!!!
please help!
0 Votes
nestor posted about 7 years ago Admin Best Answer
Please see this solution: https://support.scrapinghub.com/support/discussions/topics/22000008783
0 Votes
1 Comments
nestor posted about 7 years ago Admin Answer
Please see this solution: https://support.scrapinghub.com/support/discussions/topics/22000008783
0 Votes
Login to post a comment