Table Extractor

class etk.extractors.table_extractor.TableExtractor[source]

Bases: etk.extractor.Extractor

Description
Adding explanation here

Examples

table_extractor = TableExtractor()
table_extractor.extract(html=html_str,
                        return_text=True)
extract(html: str, return_text: bool = False) → List[etk.extraction.Extraction][source]
Parameters:
  • html (str) – raw html of the page
  • return_text (bool) – if True, return the visible text in the page removing all the data tables
Returns:

a list of Extractions

Return type:

List[Extraction]