From 0504edcba0dc67be271561febf2a6568f1d5e277 Mon Sep 17 00:00:00 2001 From: DUO Labs Date: Thu, 3 Feb 2022 22:49:35 -0500 Subject: [PATCH] Fix pep8 issues (2) --- app/filter.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/filter.py b/app/filter.py index 44af251..44dedad 100644 --- a/app/filter.py +++ b/app/filter.py @@ -363,9 +363,9 @@ class Filter: # get some tags that are unchanged between mobile and pc versions 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)), 'lxml') 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]