Spaces:
Sleeping
Sleeping
File size: 132 Bytes
04b9025 |
1 2 3 4 |
from bs4 import BeautifulSoup
def extract_text(html_doc:str):
return BeautifulSoup(html_doc , "html.parser").get_text().strip() |