requests 更换IP哪里错了?
程序代码:
import requests ua ='Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36 Edge/12.10240' s = requests.Session() proxies = {'http': '219.100.37.219:433', 'https': '219.100.37.219:433'} r = s.get('http://',proxies=proxies) print(r.text)
[此贴子已经被作者于2023-3-25 21:26编辑过]