mmcdole / gofeed

Parse RSS, Atom and JSON feeds in Go
MIT License
2.56k stars 208 forks source link

Ignore RSS "enclosure" child tags #217

Closed sgodart closed 7 months ago

sgodart commented 9 months ago

Expected behavior

Ignore all child tags (text, nodes, ...) of the "enclosure" RSS tag to avoid generating errors in case of invalid RSS.

Actual behavior

Ignore only text child node.

Steps to reproduce the behavior

Try to parse a RSS feed with <media:*> nodes in , like this one : https://sportauto.autojournal.fr/feed