From efd3e43d53fe56daf15000c87e9d92127ae6333b Mon Sep 17 00:00:00 2001 From: hillerliao Date: Sun, 15 May 2022 21:56:29 +0800 Subject: [PATCH] check published node --- rsshub/spiders/rssfilter/filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rsshub/spiders/rssfilter/filter.py b/rsshub/spiders/rssfilter/filter.py index 2bd2886..41bdd1c 100644 --- a/rsshub/spiders/rssfilter/filter.py +++ b/rsshub/spiders/rssfilter/filter.py @@ -8,7 +8,7 @@ def parse(post): item = {} item['title'] = post.title item['description'] = post.summary - item['pubDate'] = post.published + item['pubDate'] = post.published if post.has_key('published') else '' item['link'] = post.link item['author'] = post.author if post.has_key('author') else '' return item