diff --git a/proxy/rss_proxy.py b/proxy/rss_proxy.py index 9ed8dbd..d873f33 100755 --- a/proxy/rss_proxy.py +++ b/proxy/rss_proxy.py @@ -93,11 +93,11 @@ def init_proxy(app): # 🔹 Теперь нормализуем весь item ПОСЛЕ замены guid normalize_xml_texts(item) - item_str = ET.tostring(item, encoding="unicode") - item_str = html.unescape(item_str) title = item.find("title") - title.text = normalize_text(title.text) + title.text = re.sub(r'&#\d+;', '', title.text) + item_str = ET.tostring(item, encoding="unicode") + item_str = html.unescape(item_str) rdb.setex(cache_key, CACHE_TTL, item_str) new_items.append(item_str)