cquest / tootbot

python bot to clone tweets to a mastodon account
GNU Affero General Public License v3.0
101 stars 35 forks source link

KeyError: 'published_parsed' #32

Open ttrueten opened 8 months ago

ttrueten commented 8 months ago

Hi there, Tootbot was running satisfactorily until I wanted to set up a new RSS feed today. I get the following error message: `--------------------------- 20 Traceback (most recent call last): File "/home/user/.local/lib/python3.10/site-packages/feedparser/util.py", line 156, in getattr return self.getitem(key) File "/home/user/.local/lib/python3.10/site-packages/feedparser/util.py", line 113, in getitem return dict.getitem(self, key) KeyError: 'published_parsed'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/user/tootbot/tootbot.py", line 133, in dt = t.published_parsed File "/home/user/.local/lib/python3.10/site-packages/feedparser/util.py", line 158, in getattr raise AttributeError("object has no attribute '%s'" % key) AttributeError: object has no attribute 'published_parsed' ` What can I do? Is any further information needed? tootbot runs here with Ubuntu 22.04.3 LTS x86_64. The RSS feed is easily displayed in various feed readers...

TIA, Thomas