From 4407202e4b94469df4538b83f331b86927618fd5 Mon Sep 17 00:00:00 2001 From: jacr13 Date: Mon, 12 Apr 2021 18:07:50 +0200 Subject: [PATCH] fix missing parser --- app/filter.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/filter.py b/app/filter.py index 1e4fcdb..bec9f9e 100644 --- a/app/filter.py +++ b/app/filter.py @@ -294,7 +294,8 @@ class Filter: soup = BeautifulSoup(render_template('imageresults.html', length=len(results), - results=results)) + results=results), + features='html.parser') # replace search input object soup.find_all('td', attrs={'class': "O4cRJf"})[0].replaceWith(search_input)