Error with max_age and max_posts #67
Labels
No labels
bug
contribution welcome
duplicate
enhancement
good first issue
help wanted
invalid
question
upstream
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Reference
marvin8/feed2fedi#67
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I actually don't know why, because other feeds work with the new
max_ageandmax_posts, but parsing this feed withwon't work and a lot of errors appear. The last message was:
'NoneType' object is not subscriptableWithout them, everything works and the newest article was posted.
Than I've edited again the
config.jsonand added backmax_ageandmax_postswithout problems.This is really weird and I doubt this issue won't disappear in the future. But why, was has happened? 🤔
Had a look and found the issue. The way feedparser parses this feed it provides no
publisheddate but anupdateddate...It's the max_age check that is bombing out because of the "missing" date. I have already got a fix ready for the next release.
@marvin8 wrote in https://codeberg.org/marvinsmastodontools/feed2fedi/issues/67#issuecomment-8597811:
Awesome, thanks a lot!
Fix in release 3.4.1