|
fromstring(data,
beautifulsoup=None,
makeelement=None,
**bsargs)
Parse a string of HTML data into an Element tree using the
BeautifulSoup parser. |
source code
|
|
|
parse(file,
beautifulsoup=None,
makeelement=None,
**bsargs)
Parse a file into an ElemenTree using the BeautifulSoup parser. |
source code
|
|
|
convert_tree(beautiful_soup_tree,
makeelement=None)
Convert a BeautifulSoup tree to a list of Element trees. |
source code
|
|
|
_parse(source,
beautifulsoup,
makeelement,
**bsargs) |
source code
|
|
|
_convert_tree(beautiful_soup_tree,
makeelement) |
source code
|
|
|
_convert_children(parent,
beautiful_soup_tree,
makeelement) |
source code
|
|
|
|
|
handle_entities(...)
sub(repl, string[, count = 0]) --> newstring
Return the string obtained by replacing the leftmost non-overlapping
occurrences of pattern in string by the replacement repl. |
source code
|
|
|
|