Fix typo
This commit is contained in:
parent
6352fb9b97
commit
e56f58a0e9
1 changed files with 1 additions and 1 deletions
|
|
@ -45,7 +45,7 @@ class Article:
|
||||||
# Handle image if any
|
# Handle image if any
|
||||||
img_url = soup.find("meta", property="og:image")
|
img_url = soup.find("meta", property="og:image")
|
||||||
if img_url is not None:
|
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):
|
def full_title(self):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue