mirror of
https://github.com/Findus23/acronomy.git
synced 2024-09-19 15:33:45 +02:00
10 lines
198 B
Python
10 lines
198 B
Python
|
from bs4 import BeautifulSoup
|
||
|
|
||
|
|
||
|
def clean_html(html: str) -> str:
|
||
|
return BeautifulSoup(html, "html.parser").text
|
||
|
|
||
|
|
||
|
def string_to_bool(string: str) -> bool:
|
||
|
return string.lower() in ["true"]
|