diff --git a/pelican/tools/pelican_import.py b/pelican/tools/pelican_import.py index b04906c0..940849d8 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, "xml") + soup = BeautifulSoup(xmlfile, "lxml") items = soup.rss.channel.findAll('item') return items