from selenium import webdriver
import requests
# 禁用代理
requests.get('http://www.baidu.com', proxies=None)
driver = webdriver.Chrome()
driver.get('http://www.baidu.com')
driver.quit()
代码
import requests
# 禁用代理
requests.get('http://www.baidu.com', proxies=None)
driver = webdriver.Chrome()
driver.get('http://www.baidu.com')
driver.quit()
代码