-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Upgraded to latest version 0.4.1 and getting this error for new items showing up in the feed:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/feedparser/util.py", line 156, in getattr
return self.getitem(key)
File "/usr/local/lib/python3.10/dist-packages/feedparser/util.py", line 113, in getitem
return dict.getitem(self, key)
KeyError: 'links'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/bin/feediverse", line 8, in
sys.exit(main())
File "/usr/local/lib/python3.10/dist-packages/feediverse.py", line 59, in main
for entry in get_feed(feed['url'], config['updated']):
File "/usr/local/lib/python3.10/dist-packages/feediverse.py", line 114, in get_feed
yield get_entry(entry)
File "/usr/local/lib/python3.10/dist-packages/feediverse.py", line 135, in get_entry
'links': entry.links,
File "/usr/local/lib/python3.10/dist-packages/feedparser/util.py", line 158, in getattr
raise AttributeError("object has no attribute '%s'" % key)
AttributeError: object has no attribute 'links'
The feed itself validates without errors:
Any ideas?