update rss_proxy.py

* removed guid rewrite
This commit is contained in:
2025-03-10 20:54:49 +03:00
parent a3dff4a339
commit 0b5e8e5e8a

View File

@@ -78,6 +78,10 @@ def init_proxy(app):
new_items = []
for item in items:
guid = item.find("guid")
if guid is None or not guid.text:
continue
cache_key = f"rss:item:{guid.text}"
cached_item = rdb.get(cache_key)
@@ -88,7 +92,6 @@ def init_proxy(app):
if cached_item:
cached_items.append(cached_item.decode())
else:
description = item.find("description")
normalize_xml_texts(item)