lxml.html.ElementSoup

Package lxml :: Package html :: Module ElementSoup |
[hide private]
[frames] | no frames]

# Source Code for Module lxml.html.ElementSoup

     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