mirror of
https://github.com/taroved/pol
synced 2025-05-28 03:50:08 -07:00
fix warning
This commit is contained in:
parent
8bad52dd0a
commit
4fefd44cf2
2
feed.py
2
feed.py
@ -92,7 +92,7 @@ def _build_link(html, doc_url, url):
|
||||
def buildFeed(response, feed_config):
|
||||
response.selector.remove_namespaces()
|
||||
|
||||
tree = response.selector._root.getroottree()
|
||||
tree = response.selector.root.getroottree()
|
||||
# get data from html
|
||||
items = []
|
||||
for node in tree.xpath(feed_config['xpath']):
|
||||
|
Loading…
x
Reference in New Issue
Block a user