import requests
proxy = {
'http': '125.123.137.2208:9999'
}
res = requests.get('http://httpbin.org/ip', proxies=proxy)
print(res.text)
import requests
proxy = {
'http': '125.123.137.2208:9999'
}
res = requests.get('http://httpbin.org/ip', proxies=proxy)
print(res.text)
转载于:https://www.cnblogs.com/wangyue0925/p/11094115.html