requests 代理设置
import requests
proxies = {
"http": 'http://111.72.137.232:4251'}
r = requests.get('http://httpbin.org/ip', proxies=proxies)
print(r.text)
import requests
proxies = {
"http": 'http://111.72.137.232:4251'}
r = requests.get('http://httpbin.org/ip', proxies=proxies)
print(r.text)