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
Incorrect parsing of subelements #317
Comments
I am having the same problem, any solution??? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I have noticed that some keys are empty in the returned dict of
parse
. Certain fields in the rss feed I'm using are deliberately blank, but the ones I'm focusing on are when fields have subelements. The subelement gets placed in the root of the entry instead of within an object as the value of the parent element. In addition, when different elements have the same subelement, the subelement's value gets overwritten by each subsequent instance of the subelement.To give an example, lets say I have an entry that looks something like this:
I would expect
parse
to return adict
that looks something like this:However, it seems like I get something like this instead:
minor edit: Using feedparser version 6.0.10 and python 3.10.0
The text was updated successfully, but these errors were encountered: