Commit d3e34f0c authored by Lysander Trischler's avatar Lysander Trischler
Browse files

Fix reading of broken RSS feed

parent 79d9acc8
......@@ -66,7 +66,9 @@ if rss_url.startswith(("http://", "https://")):
rss_stream = open(rss_url, "rb")
tree = xml.dom.minidom.parseString("é", "é"))
tree = xml.dom.minidom.parseString(
.replace("é", "é")
.replace("<br>", "&lt;br&gt;"))
channel = tree.getElementsByTagName("rss")[0].getElementsByTagName("channel")[0]
Supports Markdown
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