compass.services.threaded.read_html_file#

async read_html_file(html_fp, **kwargs)[source]#

Read HTML file in a threaded pool

Parameters:
Returns:

tuple – Two-item tuple of the loaded HTMLDocument and the raw HTML string content.