use lxml and if it fails, use html5lib, thanks to hrna
use lxml and if it fails, use html5lib, thanks to hrna