Commit 98d1a77f authored by Lysander Trischler's avatar Lysander Trischler

Fix broken feed before parsing it

parent 8ba3f9da
......@@ -24,8 +24,8 @@ __copyright__ = "Copyright 2011, Lysander Trischler"
__license__ = "WTFPL"
__maintainer__ = "Lysander Trischler"
__email__ = "software@lyse.isobeef.org"
__version__ = "2.0"
__version_info__ = (2, 0)
__version__ = "2.0.1"
__version_info__ = (2, 0, 1)
import os.path
import sys
......@@ -69,6 +69,7 @@ else:
tree = xml.dom.minidom.parseString(rss_stream.read()
.replace("é", "é")
.replace("<br>", "&lt;br&gt;")
.replace("&ouml;", "ö")
.replace("< here >", "here"))
rss_stream.close()
channel = tree.getElementsByTagName("rss")[0].getElementsByTagName("channel")[0]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment