MerchantryTidbits

scraping / library

html5lib

Capability: html5lib

Use it when

  • parse broken real-world HTML with a standards HTML5 parser
  • BeautifulSoup backend that tolerates messy markup

What it solves

Install

pip install html5lib

Invoke

import html5lib; doc = html5lib.parse(html)

Alternatives

No reviewed alternatives recorded yet.