The APOD feed has a <textInput> field that occurs after the <item> fields, so extract_channel does not pick it up. This is perfectly valid RSS but breaks my parser's assumptions.
Possible solution is to call extract_items first, having it operate destructively on the input data, and then whatever is left is the channel.
The APOD feed has a
<textInput>
field that occurs after the<item>
fields, soextract_channel
does not pick it up. This is perfectly valid RSS but breaks my parser's assumptions.Possible solution is to call
extract_items
first, having it operate destructively on the input data, and then whatever is left is the channel.