Changed html parser for bs4 to html5lib