Install python3-html5lib by entering the following commands in the terminal:
sudo apt update sudo apt install python3-html5lib
Description:
HTML parser/tokenizer based on the WHATWG HTML5 specification
html5lib is a pure-python library for parsing HTML. It is designed to conform to the HTML 5 specification, which has formalized the error handling algorithms of popular web browsers. . This package contains the Python 3 version of html5lib.
Homepage: https://github.com/html5lib/html5lib-python
Version: 0.999999999-1
Section: python