Use html.parser instead of lxml

Co-authored-by: Ben Busby <contact@benbusby.com>
This commit is contained in:
DUO Labs 2022-02-04 18:39:47 -05:00 committed by GitHub
parent 1be0208cab
commit 82d03125d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]