|
@@ -201,7 +201,7 @@ class ClusterPoller:
|
|
|
continue
|
|
continue
|
|
|
|
|
|
|
|
material = "\n".join(
|
|
material = "\n".join(
|
|
|
- f"{a.get('title','')}|{a.get('url','')}|{a.get('timestamp','')}"
|
|
|
|
|
|
|
+ f"{a.get('title','')}|{a.get('url','')}"
|
|
|
for a in feed_articles
|
|
for a in feed_articles
|
|
|
)
|
|
)
|
|
|
content_hash = hashlib.sha1(material.encode("utf-8")).hexdigest()
|
|
content_hash = hashlib.sha1(material.encode("utf-8")).hexdigest()
|
|
@@ -473,7 +473,7 @@ class ClusterPoller:
|
|
|
# Update feed_state: hash + item_count for feeds that had changes
|
|
# Update feed_state: hash + item_count for feeds that had changes
|
|
|
for feed_url, feed_articles in feed_map.items():
|
|
for feed_url, feed_articles in feed_map.items():
|
|
|
material = "\n".join(
|
|
material = "\n".join(
|
|
|
- f"{a.get('title','')}|{a.get('url','')}|{a.get('timestamp','')}"
|
|
|
|
|
|
|
+ f"{a.get('title','')}|{a.get('url','')}"
|
|
|
for a in feed_articles
|
|
for a in feed_articles
|
|
|
)
|
|
)
|
|
|
content_hash = hashlib.sha1(material.encode("utf-8")).hexdigest()
|
|
content_hash = hashlib.sha1(material.encode("utf-8")).hexdigest()
|