This commit is contained in:
2025-05-04 10:35:31 +10:00
parent 64d17d5599
commit 5554abdc4a
4 changed files with 60 additions and 38 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ def curate_from_reddit():
print(f"Trying Reddit Post: {title} from {source_name}")
logging.info(f"Trying Reddit Post: {title} from {source_name}")
image_query, relevance_keywords, skip = smart_image_and_filter(title, summary)
image_query, relevance_keywords, main_topic, skip = smart_image_and_filter(title, summary)
if skip or any(keyword in title.lower() or keyword in raw_title.lower() for keyword in RECIPE_KEYWORDS + ["homemade"]):
print(f"Skipping filtered Reddit post: {title}")
logging.info(f"Skipping filtered Reddit post: {title}")