FIX: A feed entry may not necessarily have an `id` attribute

This commit is contained in:
Fabio Manganiello 2022-05-06 14:38:17 +02:00
parent 2cd7ae9513
commit 7a0e39111d
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ class RssPlugin(RunnablePlugin):
{
'feed_url': url,
'feed_title': getattr(feed.feed, 'title', None),
'id': entry.id,
'id': getattr(entry, 'id', None),
'url': entry.link,
'published': datetime.datetime.fromtimestamp(time.mktime(entry.published_parsed)),
'title': entry.title,