diff --git a/app/utils/search.py b/app/utils/search.py index 0f2d7fe..34b3cb9 100644 --- a/app/utils/search.py +++ b/app/utils/search.py @@ -158,7 +158,7 @@ class Search: # Produce cleanable html soup from response get_body_safed = get_body.text.replace("<","andlt;").replace(">","andgt;") - html_soup = bsoup(get_body_safed, 'html.parser') + html_soup = bsoup(get_body_safed, 'html.parser').html # Replace current soup if view_image is active # FIXME: Broken since the user agent changes as of 16 Jan 2025