This commit is contained in:
Mario Lang 2014-02-10 17:14:00 +01:00
commit 66ac2bf2da

View file

@ -112,7 +112,7 @@ def get_items(xml):
sys.exit(error)
with open(xml, encoding='utf-8') as infile:
xmlfile = infile.read()
soup = BeautifulSoup(xmlfile, "lxml")
soup = BeautifulSoup(xmlfile, "xml")
items = soup.rss.channel.findAll('item')
return items