1
0
Fork 0
forked from github/pelican

xml => lxml for bs4, in pelican-import.wp2fields()

This commit is contained in:
David Branner 2013-10-09 11:53:11 -04:00
commit 00150f3556

View file

@ -109,7 +109,7 @@ def wp2fields(xml):
with open(xml, encoding='utf-8') as infile:
xmlfile = infile.read()
soup = BeautifulSoup(xmlfile, "xml")
soup = BeautifulSoup(xmlfile, "lxml")
items = soup.rss.channel.findAll('item')
for item in items: