Use html.parser so that html is not wrapped in <html> and <body> tags automatically.