绕过云闪防止硒

2024-05-18 17:52:41 发布

您现在位置:Python中文网/ 问答频道 /正文

当我尝试通过selenium chromedrive打开站点时,cloudflare会阻止,页面会不断刷新

from selenium import webdriver
options = webdriver.ChromeOptions()
driver = webdriver.Chrome(options=None, executable_path=r'D:\test4\python\angol\driver\chromedriver.exe')
driver.get("*********")

我怎样才能解决这个问题

我的问题只是为了教育目的


Tags: pathfromimportnone站点driverselenium页面

热门问题