mirror of
https://github.com/taroved/pol
synced 2025-05-29 12:30:09 -07:00
ns fix
This commit is contained in:
parent
c14df760b6
commit
1b172dc72a
@ -53,6 +53,8 @@ def getPageFactory(url, contextFactory=None, *args, **kwargs):
|
||||
|
||||
|
||||
def setBaseAndRemoveScriptsAndMore(response, url):
|
||||
response.selector.remove_namespaces()
|
||||
|
||||
tree = response.selector._root.getroottree()
|
||||
|
||||
# set base url to html document
|
||||
|
Loading…
x
Reference in New Issue
Block a user