from bs4 import BeautifulSoup


def soup(html: str, doc_type: str = "lxml"):
    """
    Get a BeautifulSoup object from html
    :param html: HTML string
    :param doc_type: Document type
    :return: BeautifulSoup object.
    """
    bs = BeautifulSoup(html, doc_type)

    return bs