This commit is contained in:
Cyril NOVEL 2026-07-28 15:29:06 +02:00
commit e56f58a0e9

View file

@ -45,7 +45,7 @@ class Article:
# Handle image if any
img_url = soup.find("meta", property="og:image")
if img_url is not None:
self.text = f"<img alt=\"Image illustrant l'article\" src=\"{img_url["content"]}\" />\n" + self.text
self.text = f"<img alt=\"Image illustrant l'article\" src=\"{img_url['content']}\" />\n" + self.text
def full_title(self):