Fix pep8 issues (8)

This commit is contained in:
DUO Labs 2022-02-07 18:46:55 -05:00 committed by GitHub
parent ee2351f01d
commit 92fa64a945
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,9 +130,8 @@ class Filter:
selected = soup.body.findAll(text=re.compile(search_string)) selected = soup.body.findAll(text=re.compile(search_string))
for result in selected: for result in selected:
result.string.replace_with( result.string.replace_with(result.string.replace(
result.string.replace( search_string, ''))
search_string, ''))
def remove_ads(self) -> None: def remove_ads(self) -> None:
"""Removes ads found in the list of search result divs """Removes ads found in the list of search result divs