https://pypi.org/project/defusedxml/
Related issue: kurtmckee/feedparser#107
We have two (obvious) options here:
- contribute to feedparser, see the issue linked above (I don't know if it's easy to do)
- pass the XML stream through defusedxml before passing it to feedparser
- this will likely remove feedparser's ability to deal with broken xml (if it still can do that)
https://pypi.org/project/defusedxml/
Related issue: kurtmckee/feedparser#107
We have two (obvious) options here: