You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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: