.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 | ) |
Definition at line 130 of file utils.py.
References searx.utils._HTMLTextExtractor.result.
searx.utils._HTMLTextExtractor.handle_charref | ( | self, | |
name ) |
Definition at line 114 of file utils.py.
References searx.utils._HTMLTextExtractor.is_valid_tag(), and searx.utils._HTMLTextExtractor.result.
searx.utils._HTMLTextExtractor.handle_data | ( | self, | |
data ) |
Definition at line 109 of file utils.py.
References searx.utils._HTMLTextExtractor.is_valid_tag(), and searx.utils._HTMLTextExtractor.result.
searx.utils._HTMLTextExtractor.handle_endtag | ( | self, | |
tag ) |
Definition at line 97 of file utils.py.
References searx.utils._HTMLTextExtractor.tags.
searx.utils._HTMLTextExtractor.handle_entityref | ( | self, | |
name ) |
Definition at line 123 of file utils.py.
References searx.utils._HTMLTextExtractor.is_valid_tag(), and searx.utils._HTMLTextExtractor.result.
searx.utils._HTMLTextExtractor.handle_starttag | ( | self, | |
tag, | |||
attrs ) |
Definition at line 92 of file utils.py.
References searx.utils._HTMLTextExtractor.result, and searx.utils._HTMLTextExtractor.tags.
searx.utils._HTMLTextExtractor.is_valid_tag | ( | self | ) |
Definition at line 106 of file utils.py.
References searx.utils._HTMLTextExtractor.tags.
Referenced by searx.utils._HTMLTextExtractor.handle_charref(), searx.utils._HTMLTextExtractor.handle_data(), and searx.utils._HTMLTextExtractor.handle_entityref().
searx.utils._HTMLTextExtractor.result = [] |
list searx.utils._HTMLTextExtractor.tags = [] |
Definition at line 90 of file utils.py.
Referenced by searx.utils._HTMLTextExtractor.handle_endtag(), searx.utils._HTMLTextExtractor.handle_starttag(), and searx.utils._HTMLTextExtractor.is_valid_tag().