]> git.aero2k.de Git - urlbot-v3.git/commitdiff
fix searx
authorThorsten <mail@aero2k.de>
Tue, 28 Feb 2023 18:49:13 +0000 (19:49 +0100)
committerThorsten <mail@aero2k.de>
Tue, 28 Feb 2023 18:49:13 +0000 (19:49 +0100)
distbot/plugins/searx.py

index a379517f13b1bcfb2c6c0115850bb8900c2f332e..228fe8adf84f4f4dbfb58d546207eaa20a0de3e5 100644 (file)
@@ -45,6 +45,7 @@ class Searx(Worker):
 
     @staticmethod
     def fetch_all_searx_engines():
+        return ["https://search.mdosch.de"]  # working instance... since most engines on searx.space run without the json API (disabled by default since something 2022)
         response = requests.get("https://searx.space/data/instances.json")
         response.raise_for_status()
         searxes = [url for (url, details) in response.json().get("instances").items() if