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)