diff --git a/app/templates/index.html b/app/templates/index.html
index 4980316..8d50f76 100644
--- a/app/templates/index.html
+++ b/app/templates/index.html
@@ -26,7 +26,14 @@
{% if config.dark %}
{% endif %}
-
Whoogle Search
+
+ Whoogle Search
diff --git a/app/utils/filter_utils.py b/app/utils/filter_utils.py
index 7f9e9a5..ed6804c 100644
--- a/app/utils/filter_utils.py
+++ b/app/utils/filter_utils.py
@@ -13,12 +13,12 @@ data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAQAAAAnOwc2AAAAD0lEQVR42m
BLACKLIST = [
'ad', 'anuncio', 'annuncio', 'annonce', 'Anzeige', '广告', '廣告', 'Reklama', 'Реклама', 'Anunț', '광고',
'annons', 'Annonse', 'Iklan', '広告', 'Augl.', 'Mainos', 'Advertentie', 'إعلان', 'Գովազդ', 'विज्ञापन', 'Reklam',
- 'آگهی', 'Reklāma', 'Reklaam', 'Διαφήμιση', 'מודעה', 'Hirdetés'
+ 'آگهی', 'Reklāma', 'Reklaam', 'Διαφήμιση', 'מודעה', 'Hirdetés', 'Anúncio'
]
SITE_ALTS = {
'twitter.com': 'nitter.net',
- 'youtube.com': 'invidiou.site',
+ 'youtube.com': 'invidious.snopyta.org',
'instagram.com': 'bibliogram.art/u'
}
@@ -43,7 +43,7 @@ def get_site_alt(link: str):
link = link.replace(site_key, SITE_ALTS[site_key])
break
- return link
+ return link.replace('www.', '').replace('//m.', '//')
def filter_link_args(query_link):
@@ -76,4 +76,4 @@ def gen_nojs(sibling):
nojs_link['style'] = 'display:block;width:100%;'
nojs_link.string = 'NoJS Link: ' + nojs_link['href']
sibling.append(BeautifulSoup('
', 'html.parser'))
- sibling.append(nojs_link)
\ No newline at end of file
+ sibling.append(nojs_link)