aboutsummaryrefslogtreecommitdiffstats
path: root/community/museca_plus.py
diff options
context:
space:
mode:
Diffstat (limited to 'community/museca_plus.py')
-rw-r--r--community/museca_plus.py4
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
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage