update rss_proxy.py

* testing fixes description
This commit is contained in:
2025-03-05 19:58:56 +03:00
parent ec9d229f54
commit 152b71320c

View File

@@ -102,7 +102,13 @@ def init_proxy(app):
new_items.append(item_str)
final_items = cached_items + new_items
response_xml = f'<?xml version="1.0" encoding="UTF-8"?><rss><channel>{"".join(final_items)}</channel></rss>'
response_xml = f"""<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel><title>Tapochek.net RSS</title>
<link>http://tapochek.net/</link>
<ttl>15</ttl>
{"".join(final_items)}
</channel></rss>"""
return Response(response_xml, content_type="application/xml; charset=utf-8")