mirror of
https://github.com/d0zingcat/RSSHub-python.git
synced 2026-05-18 15:09:34 +00:00
check published node
This commit is contained in:
@@ -8,7 +8,7 @@ def parse(post):
|
|||||||
item = {}
|
item = {}
|
||||||
item['title'] = post.title
|
item['title'] = post.title
|
||||||
item['description'] = post.summary
|
item['description'] = post.summary
|
||||||
item['pubDate'] = post.published
|
item['pubDate'] = post.published if post.has_key('published') else ''
|
||||||
item['link'] = post.link
|
item['link'] = post.link
|
||||||
item['author'] = post.author if post.has_key('author') else ''
|
item['author'] = post.author if post.has_key('author') else ''
|
||||||
return item
|
return item
|
||||||
|
|||||||
Reference in New Issue
Block a user