Comment 4 for bug 1417011

Revision history for this message
Sean Hunt (seandhunt7) wrote :

Another thing I hate about the xml parser in bs4 is that you cant tell it to use the builtin to python xml parser. There is xml.dom.minidom. I would like if it fell back on that builtin xml package that is a pary of python 2 and 3's Standard library instead of relying on lxml if they cant install it.

This would help those users when the lxml install just always fails because they are using Windows.

Althouh I use aiohttp for getting the response data and if it is not json then I have it read through beautifulsoup4. But the problem is the xml parsing however it is not like I can tell it on the second arg "xml.dom.minidom" for it to use that instead of lxml.