diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-04-25 00:17:01 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-04-25 00:17:01 -0700 |
| commit | 4b0998b4afa48f9e2968b1bb76ef42bc6a94e1b6 (patch) | |
| tree | 9b9c99ad7458f1e79dfcac0ddc9a8ca6fc483495 /community/museca_plus.py | |
| parent | 5344e17f9c626b1f0464e8c90c6269b2c0587c74 (diff) | |
add is_ai_summary key to all new_data
Diffstat (limited to 'community/museca_plus.py')
| -rw-r--r-- | community/museca_plus.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
