Download omnilmm/lib/python3.10/site-packages/lxml/html/ElementSoup.py from ZTWHHH/envs_2: direct link, hf CLI and curl.
- Browser
- Download file 320 Bytes
-
https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/omnilmm/lib/python3.10/site-packages/lxml/html/ElementSoup.py
- Command line
-
hf download hf://datasets/ZTWHHH/envs_2/omnilmm/lib/python3.10/site-packages/lxml/html/ElementSoup.py
-
curl -L -o ElementSoup.py https://huggingface.co/datasets/ZTWHHH/envs_2/resolve/main/omnilmm/lib/python3.10/site-packages/lxml/html/ElementSoup.py
320 Bytes
| __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() | |