forked from platypush/platypush
FIX: A feed entry may not necessarily have an id
attribute
This commit is contained in:
parent
2cd7ae9513
commit
7a0e39111d
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class RssPlugin(RunnablePlugin):
|
||||||
{
|
{
|
||||||
'feed_url': url,
|
'feed_url': url,
|
||||||
'feed_title': getattr(feed.feed, 'title', None),
|
'feed_title': getattr(feed.feed, 'title', None),
|
||||||
'id': entry.id,
|
'id': getattr(entry, 'id', None),
|
||||||
'url': entry.link,
|
'url': entry.link,
|
||||||
'published': datetime.datetime.fromtimestamp(time.mktime(entry.published_parsed)),
|
'published': datetime.datetime.fromtimestamp(time.mktime(entry.published_parsed)),
|
||||||
'title': entry.title,
|
'title': entry.title,
|
||||||
|
|
Loading…
Reference in a new issue