diff --git a/proxy/rss_proxy.py b/proxy/rss_proxy.py index b01b15e..240c287 100755 --- a/proxy/rss_proxy.py +++ b/proxy/rss_proxy.py @@ -73,7 +73,6 @@ def init_proxy(app): root = ET.fromstring(xml_data) items = root.findall(".//item") - cached_items = [] new_items = [] @@ -111,9 +110,9 @@ def init_proxy(app): final_items = cached_items + new_items response_xml = f"""{_head_html}{"".join(final_items)}""" + response_xml = response_xml.replace("&", "&") return Response(response_xml, content_type="application/xml; charset=utf-8") except Exception as e: return f"Error: {e}", 500 -