Commit 7a0e3911 authored by Fabio Manganiello's avatar Fabio Manganiello
Browse files

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

parent 2cd7ae95
Pipeline #232 passed with stages
in 8 minutes and 50 seconds
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment