diff --git a/app/models/feed.py b/app/models/feed.py index 14e5f72..1f391c2 100644 --- a/app/models/feed.py +++ b/app/models/feed.py @@ -129,6 +129,12 @@ def download(self, feed_url: str) -> list[FeedArticle]: feed = feedparser.parse(feed_url) for entry in feed.entries: pub_date = dateutil.parser.parse(entry.get('published', entry.get('updated', formatdate()))) + + if 'description' in entry: + description = entry.description + else: + description = None + articles.append( FeedArticle( original_title=entry.title,