From 7fba0fe96a46e48bda4141592ad9463ed13ee644 Mon Sep 17 00:00:00 2001 From: Shane Date: Sun, 4 May 2025 12:06:46 +1000 Subject: [PATCH] fix --- foodie_automator_rss.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/foodie_automator_rss.py b/foodie_automator_rss.py index bdd5422..731c197 100644 --- a/foodie_automator_rss.py +++ b/foodie_automator_rss.py @@ -210,7 +210,7 @@ def fetch_duckduckgo_news_context(title, hours=24): return title def curate_from_rss(): - articles = fetch_rss_articles() + articles = fetch_rss_feeds() # Corrected from fetch_rss_articles to fetch_rss_feeds if not articles: print("No RSS articles available") logging.info("No RSS articles available") @@ -223,7 +223,7 @@ def curate_from_rss(): title = article["title"] link = article["link"] summary = article.get("summary", "") - source_name = article.get("source_name", "Unknown Source") + source_name = article.get("feed_title", "Unknown Source") # Adjusted to match fetch_rss_feeds output original_source = f'{source_name}' if title in posted_titles: