如果在无头模式网站检测到验证码,我如何在无头模式下运行未检测到的 chromedriver 将 unDetected_chromedriver 导入为 uc 驱动程序= uc.Chrome(无头= True,use_subprocess = False) sfbhsodefouasgudfohadosfguadsgihoudshaifouashgipaghghipahsgpihapihdgiphaipghpihfohgodhfogadh
试试这个
options = uc.ChromeOptions()
options.headless=True
options.add_argument('--headless')
scrap = uc.Chrome(use_subprocess=True,options=options)