diff --git a/pelican/tools/pelican_import.py b/pelican/tools/pelican_import.py index 940849d8..b04906c0 100755 --- a/pelican/tools/pelican_import.py +++ b/pelican/tools/pelican_import.py @@ -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