Hey, folks! I used BeautifulSoup in an older version using features="lxml", and all was well. Using "html.parser" has never worked, and that's not a problem.
Now I need to upgrade my Python version, and the current BeautifulSoup dumps a warning to stderr about using an html parser for XML but seems to work otherwise. How can I make it work like it used to -- using lxml, but for html, without complaining?
I tried following the warning's advice (it wants me to switch to features="xml"), but that breaks -- the document is partially HTML, so it doesn't get any of the XML contents.
These are ODM files, by the way. There no doubt is a better way, but the way I'm using has worked for me for a long time.