From 59062b68a119b224283cb99f57f3b831391d2f68 Mon Sep 17 00:00:00 2001 From: Corban-Lee Jones Date: Thu, 13 Jun 2024 08:41:05 +0100 Subject: [PATCH] description as author was a bad idea --- src/feed.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/feed.py b/src/feed.py index 293034f..1308e1e 100644 --- a/src/feed.py +++ b/src/feed.py @@ -118,7 +118,7 @@ class Article: # Replace HTML with Markdown, and shorten text. title = shorten(markdownify(self.title, strip=["img", "a"]), 256) desc = shorten(markdownify(self.description, strip=["img"]), 4096) - author = shorten(self.source.description, 256) + author = shorten(self.source.name, 256) # validate urls embed_url = self.url if validators.url(self.url) else None