Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Ignore RSS "enclosure" child tags #217

Closed
sgodart opened this issue Dec 22, 2023 · 0 comments · Fixed by #218
Closed

Ignore RSS "enclosure" child tags #217

sgodart opened this issue Dec 22, 2023 · 0 comments · Fixed by #218

Comments

@sgodart
Copy link
Contributor

sgodart commented Dec 22, 2023

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

sgodart added a commit to ividence/gofeed that referenced this issue Feb 7, 2024
mmcdole pushed a commit that referenced this issue Feb 7, 2024
* fix(rss): fix enclosure parsing, ignoring every child nodes, not only text

* feat: add unit test for issue #217
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant