Skip to content

Instantly share code, notes, and snippets.

@Bhupesh-V
Last active March 31, 2022 17:03
Show Gist options
  • Save Bhupesh-V/0c068f0b9679af84fff32f06f05e4d5b to your computer and use it in GitHub Desktop.
Save Bhupesh-V/0c068f0b9679af84fff32f06f05e4d5b to your computer and use it in GitHub Desktop.
Get list of working (and good) searx instances
import urllib.request
import json
HEADERS = {
"User-Agent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36",
"Content-Type": "application/json",
}
def request(url, data=None, method=None):
req = urllib.request.Request(url, headers=HEADERS)
try:
res = urllib.request.urlopen(req)
res_body = json.loads(res.read().decode("utf-8"))
except urllib.error.URLError as e:
print(e.reason)
exit()
return res_body
def get_instances():
data = request("https://searx.space/data/instances.json")
instances = data["instances"]
with open("instances.txt", "w") as fi:
for i in instances:
if (
instances[i]["http"]["status_code"] == 200
and instances[i]["http"]["error"] is None
and not instances[i]["comments"]
):
fi.write(f"{i}\n")
print(i)
if __name__ == "__main__":
get_instances()
https://anon.sx/
https://darmarit.org/searx/
https://dynabyte.ca/
https://engo.mint.lgbt/
https://eulie.de/
https://haku.ahmia.fi/
https://haku.lelux.fi/
https://jsearch.pw/
https://metasearch.nl/
https://privatesearch.app/
https://procurx.pt/
https://search.bluelock.org/
https://search.disroot.org/
https://search.ethibox.fr/
https://search.jigsaw-security.com/
https://search.jpope.org/
https://search.mdosch.de/
https://search.modalogi.com/
https://search.snopyta.org/
https://search.st8.at/
https://search.stinpriza.org/
https://searx.bar/
https://searx.bbaovanc.com/
https://searx.be/
https://searx.bissisoft.com/
https://searx.ch/
https://searx.decatec.de/
https://searx.deepak.pro/
https://searx.devol.it/
https://searx.dresden.network/
https://searx.elukerio.org/
https://searx.feneas.org/
https://searx.fmac.xyz/
https://searx.forked.io/
https://searx.guillaumea.fr/
https://searx.ir/
https://searx.laquadrature.net/
https://searx.lavatech.top/
https://searx.lelux.fi/
https://searx.libmail.eu/
https://searx.lnode.net/
https://searx.mastodontech.de/
https://searx.maxxblow.de/
https://searx.monicz.pl/
https://searx.nakhan.net/
https://searx.netzspielplatz.de/
https://searx.nevrlands.de/
https://searx.ninja/
https://searx.nixnet.services/
https://searx.olymp.to/
https://searx.openhoofd.nl/
https://searx.openpandora.org/
https://searx.operationtulip.com/
https://searx.ouahpiti.info/
https://searx.pofilo.fr/
https://searx.prvcy.eu/
https://searx.pwoss.org/
https://searx.rasp.fr/
https://searx.roughs.ru/
https://searx.ru/
https://searx.run/
https://searx.semipvt.com/
https://searx.simonoener.com/
https://searx.slash-dev.de/
https://searx.solusar.de/
https://searx.sp-codes.de/
https://searx.sunless.cloud/
https://searx.tuxcloud.net/
https://searx.vitanetworks.link/
https://searx.webheberg.info/
https://searx.xyz/
https://spot.ecloud.global/
https://suche.uferwerk.org/
https://timdor.noip.me/searx/
https://tromland.org/searx/
https://trovu.komun.org/
https://www.finden.tk/
https://www.gruble.de/
https://www.perfectpixel.de/searx/
https://www.searxs.eu/
https://zoek.anchel.nl/
https://search.privacytools.io/searx/
https://searx.tunkki.xyz/searx/
https://searx.roflcopter.fr/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment