feedparser icon indicating copy to clipboard operation
feedparser copied to clipboard

Rss feed with errors with feedparser but ok in w3c

Open frague59 opened this issue 9 years ago • 3 comments
trafficstars

Hi,

I'm trying to parse a RSS 2.0 feed :

http://www.legrandmix.com/data/rss.xml

It is OK with w3c validator : https://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.legrandmix.com%2Fdata%2Frss.xml

But I've an error with feedparser :

SAXParseException('not well-formed (invalid token)'

I'm using the last version of feedparser (5.2.1) on python 2.7.10+, on Debian Linux.

Thanks for your help !

frague59 avatar Feb 25 '16 07:02 frague59

Testing this in develop branch on python 2.7.11 on Ubuntu and I'm not able to reproduce the problem.

Please confirm that the issue continues if you manually download the feed file (and confirm its contents!) and parse that with code from the current develop branch.

kurtmckee avatar Apr 24 '16 15:04 kurtmckee

Had a similar problem. In my case I forgot to put http:// in front of URL.

evdoks avatar Nov 14 '17 13:11 evdoks

The link itself is invalid now. So we can not test to reproduce this anymore. Can be closed.

buhtz avatar Dec 17 '19 12:12 buhtz