HTML extraction

Dieter Maurer dieter at handshake.de
Wed Dec 8 12:48:06 EST 2021


Roland Mueller wrote at 2021-12-7 22:55 +0200:
> ...
>Can bs4 or lxml cope with HTML code that does not comply with XML as the
>following fragment?

`lxml` comes with an HTML parser; that can be configured to check loosely.


More information about the Python-list mailing list