From 82d03125d5b92344e5fed222e872bb2737bb8683 Mon Sep 17 00:00:00 2001 From: DUO Labs Date: Fri, 4 Feb 2022 18:39:47 -0500 Subject: [PATCH] Use html.parser instead of lxml Co-authored-by: Ben Busby --- app/filter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/filter.py b/app/filter.py index fb739b1..8672128 100644 --- a/app/filter.py +++ b/app/filter.py @@ -365,7 +365,7 @@ class Filter: search_input = soup.find_all('td', attrs={'class': "O4cRJf"})[0] search_input = BeautifulSoup(re.sub(r'(\s)-site:[a-zA-Z0-9_\.]+', '', - str(search_input)), 'lxml') + str(search_input)), 'html.parser') search_options = soup.find_all('div', attrs={'class': "M7pB2"})[0] cor_suggested = soup.find_all('table', attrs={'class': "By0U9"}) next_pages = soup.find_all('table', attrs={'class': "uZgmoc"})[0]