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]