From 166af498bff6ca5c2f8d38f5be89f9ac1003f63a Mon Sep 17 00:00:00 2001 From: bacon Date: Wed, 5 Mar 2025 20:31:54 +0300 Subject: [PATCH] update rss_proxy.py * testing fixes description --- proxy/rss_proxy.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/proxy/rss_proxy.py b/proxy/rss_proxy.py index c36c413..14338d7 100755 --- a/proxy/rss_proxy.py +++ b/proxy/rss_proxy.py @@ -87,7 +87,8 @@ def init_proxy(app): title = item.find("title") print(title.text) - title.text = re.sub(r'&#\d+;', '', title.text) + new_title = re.sub(r'&#\d+;', '', title.text) + title.text = new_title if cached_item: cached_items.append(cached_item.decode())