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())