mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-01-30 07:33:36 -05:00
Removing google's filter card from results
This commit is contained in:
parent
09c53b52af
commit
3dbe51e9e7
@ -90,6 +90,11 @@ class Filter:
|
||||
for script in soup('script'):
|
||||
script.decompose()
|
||||
|
||||
# Remove google's language/time config
|
||||
st_card = soup.find('div', id='st-card')
|
||||
if st_card:
|
||||
st_card.decompose()
|
||||
|
||||
footer = soup.find('div', id='sfooter')
|
||||
if footer is not None:
|
||||
footer.decompose()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user