Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def html_to_nodes(html_content):
parser = HtmlToNodesParser()
parser.feed(html_content)
nodes = parser.get_nodes()
nodes, _ = clear_whitespace_nodes(nodes)
return nodes