|
.oO SearXNG Developer Documentation Oo.
|
Public Member Functions | |
| __init__ (self) | |
| handle_starttag (self, tag, attrs) | |
| handle_endtag (self, tag) | |
| is_valid_tag (self) | |
| handle_data (self, data) | |
| handle_charref (self, name) | |
| handle_entityref (self, name) | |
| get_text (self) | |
| error (self, message) | |
Public Attributes | |
| list | result = [] |
| list | tags = [] |
| searx.utils._HTMLTextExtractor.__init__ | ( | self | ) |
| searx.utils._HTMLTextExtractor.error | ( | self, | |
| message ) |
| searx.utils._HTMLTextExtractor.get_text | ( | self | ) |
| searx.utils._HTMLTextExtractor.handle_charref | ( | self, | |
| name ) |
Definition at line 111 of file utils.py.
References is_valid_tag(), and result.
| searx.utils._HTMLTextExtractor.handle_data | ( | self, | |
| data ) |
Definition at line 106 of file utils.py.
References is_valid_tag(), and result.
| searx.utils._HTMLTextExtractor.handle_endtag | ( | self, | |
| tag ) |
| searx.utils._HTMLTextExtractor.handle_entityref | ( | self, | |
| name ) |
Definition at line 120 of file utils.py.
References is_valid_tag(), and result.
| searx.utils._HTMLTextExtractor.handle_starttag | ( | self, | |
| tag, | |||
| attrs ) |
| searx.utils._HTMLTextExtractor.is_valid_tag | ( | self | ) |
Definition at line 103 of file utils.py.
References tags.
Referenced by handle_charref(), handle_data(), and handle_entityref().
| searx.utils._HTMLTextExtractor.result = [] |
Definition at line 86 of file utils.py.
Referenced by get_text(), handle_charref(), handle_data(), handle_entityref(), and handle_starttag().
| list searx.utils._HTMLTextExtractor.tags = [] |
Definition at line 87 of file utils.py.
Referenced by handle_endtag(), handle_starttag(), and is_valid_tag().