mirror of
https://gitee.com/g1879/DrissionPage.git
synced 2024-12-10 04:00:23 +08:00
微调
This commit is contained in:
parent
94111d08a5
commit
b24b592f30
@ -398,7 +398,7 @@ def execute_session_find(page_or_ele,
|
||||
page_or_ele = page_or_ele.inner_ele
|
||||
else: # 传入的是SessionPage对象
|
||||
page = page_or_ele
|
||||
page_or_ele = fromstring(re.sub(r' ?', ' ', page_or_ele.response.text))
|
||||
page_or_ele = fromstring(sub(r' ?', ' ', page_or_ele.response.text))
|
||||
|
||||
try:
|
||||
# 用lxml内置方法获取lxml的元素对象列表
|
||||
|
Loading…
x
Reference in New Issue
Block a user