stop removing target attr when scraping (#2495)
This commit is contained in:
@@ -869,9 +869,6 @@ def trim_element(element: dict) -> dict:
|
||||
if "afterPseudoText" in queue_ele and not queue_ele.get("afterPseudoText"):
|
||||
del queue_ele["afterPseudoText"]
|
||||
|
||||
if "target" in queue_ele:
|
||||
del queue_ele["target"]
|
||||
|
||||
return element
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user