mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-04 21:18:01 +08:00
微调
This commit is contained in:
parent
7fcde1a67d
commit
0791cff9d6
@ -121,7 +121,7 @@ class Drission(object):
|
||||
print('无法启动,请检查chromedriver版本与Chrome是否匹配,并手动设置。')
|
||||
exit(0)
|
||||
|
||||
# 反爬设置
|
||||
# 反反爬设置
|
||||
try:
|
||||
self._driver.execute_script('Object.defineProperty(navigator,"webdriver",{get:() => Chrome,});')
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user