No recent searches
Popular Articles
Sorry! nothing found for
Posted over 4 years ago by mingzhongshui
import requests url = "https://www.google.com" proxy_host = "proxy.crawlera.com" proxy_port = "8010" proxy_auth = "***:" # Make sure to include ':' at the end proxies = {"https": "https://{}@{}:{}/".format(proxy_auth, proxy_host, proxy_port), "http": "http://{}@{}:{}/".format(proxy_auth, proxy_host, proxy_port)} header = { "User-agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36" } r = requests.get(url, proxies=proxies, verify=r'E:\python\www\test\ssl_file\crawlera-ca.crt')
0 Votes
0 Comments
Login to post a comment
People who like this
This post will be deleted permanently. Are you sure?
0 Votes
0 Comments
Login to post a comment