From 384cda1b7931b4d68a387b5f8528cefd91090477 Mon Sep 17 00:00:00 2001 From: ManeraKai Date: Tue, 16 May 2023 14:53:13 +0300 Subject: [PATCH] Fixed typo --- instances.py | 81 ++++++++++++++++++++++++++-------------------------- 1 file changed, 41 insertions(+), 40 deletions(-) diff --git a/instances.py b/instances.py index f8e6cb4..4e80c5a 100755 --- a/instances.py +++ b/instances.py @@ -348,15 +348,15 @@ def searxng(): for item in rJson['instances']: - if re.search(torRegex, item[:-1] and rJson['instances'][item].get('generator') == 'searxng'): + if re.search(torRegex, item[:-1]) and rJson['instances'][item].get('generator') == 'searxng': searxngList['tor'].append(item[:-1]) - elif re.search(i2pRegex, item[:-1] and rJson['instances'][item].get('generator') == 'searxng'): + elif re.search(i2pRegex, item[:-1]) and rJson['instances'][item].get('generator') == 'searxng': searxngList['i2p'].append(item[:-1]) elif rJson['instances'][item].get('generator') == 'searxng': searxngList['clearnet'].append(item[:-1]) mightyList['searxng'] = searxngList - print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + 'SearX, SearXNG') + print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + 'SearXNG') def searx(): @@ -375,6 +375,7 @@ def searx(): if data[key]['additional_urls'][additional_url] == "Hidden Service": searxList['tor'].append(additional_url) mightyList['searx'] = searxList + print(Fore.GREEN + 'Fetched ' + Style.RESET_ALL + 'SearXNG') def whoogle(): @@ -555,44 +556,44 @@ def isValid(url): # This code is contributed by avanitrachhadiya2155 return False -invidious() -piped() -pipedMaterial() -cloudtube() -proxitok() -send() -nitter() -libreddit() -teddit() -scribe() -quetre() -libremdb() -simplytranslate() -linvgatranslate() -libreTranslate() +# invidious() +# piped() +# pipedMaterial() +# cloudtube() +# proxitok() +# send() +# nitter() +# libreddit() +# teddit() +# scribe() +# quetre() +# libremdb() +# simplytranslate() +# linvgatranslate() +# libreTranslate() searxng() -searx() -whoogle() -librex() -rimgo() -beatbump() -hyperpipe() -facil() -osm() -breezeWiki() -privateBin() -neuters() -ruralDictionary() -libMedium() -dumb() -anonymousOverflow() -wikiless() -biblioReads() -suds() -poketube() -gothub() -mikuInvidious() -wolfreeAlpha(wolfreeAlpha_url_list_i) +# searx() +# whoogle() +# librex() +# rimgo() +# beatbump() +# hyperpipe() +# facil() +# osm() +# breezeWiki() +# privateBin() +# neuters() +# ruralDictionary() +# libMedium() +# dumb() +# anonymousOverflow() +# wikiless() +# biblioReads() +# suds() +# poketube() +# gothub() +# mikuInvidious() +# wolfreeAlpha(wolfreeAlpha_url_list_i) mightyList = filterLastSlash(mightyList)