elm.utilities.parse.html_to_text

html_to_text(html, ignore_links=True)[source]

Call to HTML2Text class with basic args.

Parameters:
  • html (str) – HTML text extracted from the web.

  • ignore_links (bool, optional) – Option to ignore links in HTML when parsing. By default, True.

Returns:

str – Text extracted from the input HTML.