-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parsing error with CDATA in categary tag. #50
Comments
Can you provide the sample of those feed so that when I answer I'll be sure that it works for you? Thanks for using the library, hope you like it |
I am hitting the same problem when parsting https://www.ilfattoquotidiano.it/feed/ According to https://validator.w3.org/feed/ it is a valid RSS feed, but it errors out with the same error as @cornelinux |
Thanks, I'll take a look and give you a code sample |
Hey, in fact, the spec specified that the category can be a multiple. I've update the code in 2.0.1 version. I'll go ahead and double check every other element for that sort of mistakes |
I'll rename the version to 2.1.0 since it does change the logic of the library slightly. Should be deployed in 5 minutes |
Implementing the rss-parser was a breeze and quite simple. Thank you.
I am using version 2.0.0 from PyPI with Python 3.10.12.
However, when I am parsing wordpress blogs, I get an error
Which looks like it does not like
CDATA
in thecategory
. When parsing a feed, where thecategory
tag is a plain str, there is no problem.The text was updated successfully, but these errors were encountered: