【发布时间】:2022-01-08 16:00:58
【问题描述】:
如何在kali linux中使用undetected_chromedriver.v2
import undetected_chromedriver.v2 as uc
options = uc.ChromeOptions()
# setting profile
options.user_data_dir = "c:\\temp\\profile"
# another way to set profile is the below (which takes precedence if both variants are used
options.add_argument('--user-data-dir=c:\\temp\\profile2')
# just some options passing in to skip annoying popups
options.add_argument('--no-first-run --no-service-autorun --password-store=basic')
bw = uc.Chrome(options=options, version_main=92)
【问题讨论】:
-
如何更改kali linux的路径
-
请澄清您的具体问题或提供其他详细信息以准确突出您的需求。正如目前所写的那样,很难准确地说出你在问什么。
标签: selenium jupyter-notebook selenium-chromedriver kali-linux undetected-chromedriver