From 4b0998b4afa48f9e2968b1bb76ef42bc6a94e1b6 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Fri, 25 Apr 2025 00:17:01 -0700 Subject: add is_ai_summary key to all new_data --- community/museca_plus.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'community/museca_plus.py') diff --git a/community/museca_plus.py b/community/museca_plus.py index 81c7313..b84ded5 100644 --- a/community/museca_plus.py +++ b/community/museca_plus.py @@ -22,7 +22,6 @@ def parse_museca_plus_news_site(html: str) -> list: images = [] for img in p.find_all("img"): img_url = urljoin(base_url, img.get("src")) - parent_a = img.find_parent("a") images.append({"image": img_url, "link": None}) content = p.get_text(separator=' ', strip=True) @@ -35,7 +34,8 @@ def parse_museca_plus_news_site(html: str) -> list: 'headline': None, 'content': content, 'url': None, - 'images': images + 'images': images, + 'is_ai_summary': False }) return news_posts -- cgit v1.2.3