INNER CODE UNIT · Python
get_data
lefterisloukas/edgar-crawler · extract_items.py:96
def get_data(self) -> str:
"""
Join the list to get the data without HTML tags.
Returns:
str: The data as a single string.
"""
return "".join(self.fed)
def strip_tags(self, html: str) -> str:
"""
Strip the HTML tags from the string.
This method feeds the HTML to the parser and returns the data without
HTML tags.
Args:
html (str): The HTML string.