Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
hhhrrrttt222111
GitHub Repository: hhhrrrttt222111/Dorkify
Path: blob/master/venv/Lib/site-packages/lxml/html/ElementSoup.py
811 views
1
__doc__ = """Legacy interface to the BeautifulSoup HTML parser.
2
"""
3
4
__all__ = ["parse", "convert_tree"]
5
6
from soupparser import convert_tree, parse as _parse
7
8
def parse(file, beautifulsoup=None, makeelement=None):
9
root = _parse(file, beautifulsoup=beautifulsoup, makeelement=makeelement)
10
return root.getroot()
11
12