6_7 selenium使用代理IP
"""""" from selenium import webdriver driver_path = r"D:\install\chromedriver\chromedriver.exe" options = webdriver.ChromeOptions() options.add_argument("--proxy-server=http://代理IP:31032") driver = webdriver.Chrome(executable_path=driver_path, options=options) driver.get(‘http://httpbin.org/ip‘)
相关推荐
xiangxiaojun 2020-09-23
Reiki 2020-08-16
letheashura 2020-08-14
tiankele0 2020-07-29
curiousL 2020-07-18
王练 2020-07-18
tiankele0 2020-07-18
amei0 2020-07-08
Reiki 2020-07-06
Ronnyxie 2020-07-06
xiangxiaojun 2020-07-05
zhanghaibing00 2020-06-28
xiongyouqiang 2020-06-28
Ronnyxie 2020-06-27
amei0 2020-06-26
letheashura 2020-06-26
tiankele0 2020-06-26
王练 2020-06-25