week06
This commit is contained in:
10
env/lib/python3.12/site-packages/lxml/html/ElementSoup.py
vendored
Normal file
10
env/lib/python3.12/site-packages/lxml/html/ElementSoup.py
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
__doc__ = """Legacy interface to the BeautifulSoup HTML parser.
|
||||
"""
|
||||
|
||||
__all__ = ["parse", "convert_tree"]
|
||||
|
||||
from .soupparser import convert_tree, parse as _parse
|
||||
|
||||
def parse(file, beautifulsoup=None, makeelement=None):
|
||||
root = _parse(file, beautifulsoup=beautifulsoup, makeelement=makeelement)
|
||||
return root.getroot()
|
Reference in New Issue
Block a user