lemon24 / reader

A Python feed reader library.
https://reader.readthedocs.io
BSD 3-Clause "New" or "Revised" License
438 stars 36 forks source link

Single entry without id and link fails entire feed #281

Closed mirekdlugosz closed 2 years ago

mirekdlugosz commented 2 years ago

ParseError raised when reading entry without id and link is only caught at feed level. The entire feed becomes failed, even if there were entries that could have been read.

That was actually a case for Planet Python RSS feed last week. Somehow, it generated single entry without id and link and this caused entire feed to fail to update for almost a week. It is no longer reproducible, but I managed to grab XML file while the issue was still present:

planetpython-buggy.xml.txt (GitHub doesn't like XML file extension, so I appended TXT)

PR submitted: #282