From cc51fe01c22ea0915f841366a0d7d77158a17ba7 Mon Sep 17 00:00:00 2001 From: Nazar Kanaev Date: Fri, 26 Mar 2021 13:39:00 +0000 Subject: [PATCH] give priority to content:encoded --- src/parser/rss.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parser/rss.go b/src/parser/rss.go index 9619437..0a275ee 100644 --- a/src/parser/rss.go +++ b/src/parser/rss.go @@ -82,7 +82,7 @@ func ParseRSS(r io.Reader) (*Feed, error) { Date: dateParse(firstNonEmpty(srcitem.DublinCoreDate, srcitem.PubDate)), URL: srcitem.Link, Title: srcitem.Title, - Content: srcitem.Description, + Content: firstNonEmpty(srcitem.ContentEncoded, srcitem.Description), AudioURL: podcastURL, }) }