v/pol
1
0
mirror of https://github.com/taroved/pol synced 2025-05-28 03:50:08 -07:00

fix warning

This commit is contained in:
Your Name 2017-07-24 14:20:07 -04:00
parent 8bad52dd0a
commit 4fefd44cf2

View File

@ -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']):