From 0791cff9d665b35f31fbc8d9a6c4579c02892773 Mon Sep 17 00:00:00 2001 From: g1879 Date: Fri, 5 Feb 2021 21:00:32 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- DrissionPage/drission.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DrissionPage/drission.py b/DrissionPage/drission.py index b45c0f1..3c49500 100644 --- a/DrissionPage/drission.py +++ b/DrissionPage/drission.py @@ -121,7 +121,7 @@ class Drission(object): print('无法启动,请检查chromedriver版本与Chrome是否匹配,并手动设置。') exit(0) - # 反爬设置 + # 反反爬设置 try: self._driver.execute_script('Object.defineProperty(navigator,"webdriver",{get:() => Chrome,});') except: