From 9e6e2cb264ad6eb82401abc6e794e35a55b3b633 Mon Sep 17 00:00:00 2001 From: g1879 <g1879@qq.com> Date: Tue, 21 Dec 2021 17:26:35 +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/base.py | 1 - 1 file changed, 1 deletion(-) diff --git a/DrissionPage/base.py b/DrissionPage/base.py index 0c11dbd..c4056ed 100644 --- a/DrissionPage/base.py +++ b/DrissionPage/base.py @@ -198,7 +198,6 @@ class DrissionElement(BaseElement): loc = loc[1].lstrip('./') xpath = f'xpath:./{direction}-sibling::{loc}' - print(xpath) nodes = self._ele(xpath, timeout=timeout, single=False) nodes = [e for e in nodes if not (isinstance(e, str) and sub('[ \n\t\r]', '', e) == '')]