|
|
None | handle_starttag (self, str name, List[Tuple[str, Optional[str]]] attrs, bool handle_empty_element=True) |
| |
|
None | handle_endtag (self, str name, bool check_already_closed=True) |
| |
|
None | handle_data (self, str data) |
| |
|
None | handle_charref (self, str name) |
| |
|
None | handle_entityref (self, str name) |
| |
|
None | handle_comment (self, str data) |
| |
|
None | handle_decl (self, str data) |
| |
|
None | unknown_decl (self, str data) |
| |
|
None | handle_pi (self, str data) |
| |
Subclass of HTMLParser that announces parse events, without doing
anything else.
You can use this to get a picture of how html.parser sees a given
document. The easiest way to do this is to call `htmlparser_trace`.