diff --git a/proxy/rss_proxy.py b/proxy/rss_proxy.py index 240c287..8333eb5 100755 --- a/proxy/rss_proxy.py +++ b/proxy/rss_proxy.py @@ -51,6 +51,7 @@ def init_proxy(app): raw_query = request.query_string.decode() if raw_query.startswith("url="): url = urllib.parse.unquote(raw_query[4:]) + url = html.unescape(url) else: return "Missing URL", 400 @@ -110,7 +111,6 @@ 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")