Home Trees Indices Help
lxml API
Package lxml :: Package html :: Module ElementSoup
[]

Module ElementSoup

source code

Legacy interface to the BeautifulSoup HTML parser.
Functions [hide private]
convert_tree(beautiful_soup_tree, makeelement=None)
Convert a BeautifulSoup tree to a list of Element trees. source code
parse(file, beautifulsoup=None, makeelement=None) source code
Variables [hide private]
__doc__ = """Legacy interface to the BeautifulSoup HTML pars... __package__ = 'lxml.html'
Function Details [hide private]

convert_tree(beautiful_soup_tree, makeelement=None)

source code

Convert a BeautifulSoup tree to a list of Element trees.

Returns a list instead of a single root Element to support HTML-like soup with more than one root element.

You can pass a different Element factory through the makeelement keyword.


Variables Details [hide private]

__doc__

Value:
"""Legacy interface to the BeautifulSoup HTML parser.
"""

Home Trees Indices Help
lxml API
Generated by Epydoc 3.0.1 on Thu Jul 9 18:29:53 2020 http://epydoc.sourceforge.net

AltStyle によって変換されたページ (->オリジナル) /