From 79e14e2f79de5124b62e36f64f2af97a087a1dc6 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 10 Nov 2024 22:07:05 +0000 Subject: [PATCH] Tidying --- posts.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/posts.py b/posts.py index 6e4238c85..11a4793dc 100644 --- a/posts.py +++ b/posts.py @@ -223,7 +223,8 @@ def no_of_followers_on_domain(base_dir: str, handle: str, def _clean_html(raw_html: str) -> str: - # text=BeautifulSoup(raw_html, 'html.parser').get_text() + """Remove escape codes from html string + """ text = raw_html return html.unescape(text)