From d24734110a9b632210b5ba0d6f195a803244e547 Mon Sep 17 00:00:00 2001 From: pictuga Date: Fri, 20 Mar 2020 12:26:34 +0100 Subject: [PATCH] morss: convert all feeds to RSS As html feeds might not contain some feeds, leading to data loss --- morss/morss.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/morss/morss.py b/morss/morss.py index 7d5c93c..23a54a7 100644 --- a/morss/morss.py +++ b/morss/morss.py @@ -341,6 +341,8 @@ def FeedFetch(url, options): else: try: rss = feeds.parse(xml, url, contenttype) + rss = rss.convert(feeds.FeedXML) + # contains all fields, otherwise much-needed data can be lost except TypeError: log('random page')