Source code for dancesport_parser.util

from bs4 import BeautifulSoup
from tidylib import tidy_document

[docs] def parseHtml(rawHtml: str) -> BeautifulSoup: tidiedPage, _ = tidy_document(rawHtml) return BeautifulSoup(tidiedPage, "html.parser")