summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Gabaldon <igabaldon@inetol.net>2026-09-01 21:43:50 +0200
committerGitHub <noreply@github.com>2026-09-01 21:43:50 +0200
commit18af21159bd7b84880cd7265b184825493322232 (patch)
treef01e5c408ff69a475ce86cfba6a236b81a24246c
parent248e37991ca564ace54933f5467f189e9696566b (diff)
[mod] py: clearurls update location (#6618)
We should opt to retrieve the lists through jsDelivr service as our first choice and avoid hitting the GH (GitHub) and GL (GitLab) servers.
-rw-r--r--searx/data/tracker_patterns.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/searx/data/tracker_patterns.py b/searx/data/tracker_patterns.py
index ed4415bce..900f7e84c 100644
--- a/searx/data/tracker_patterns.py
+++ b/searx/data/tracker_patterns.py
@@ -28,11 +28,11 @@ class TrackerPatternsDB:
ctx_name = "data_tracker_patterns"
+ # ClearURL rule lists, the first one that responds HTTP 200 is used
CLEAR_LIST_URL = [
- # ClearURL rule lists, the first one that responds HTTP 200 is used
- "https://rules1.clearurls.xyz/data.minify.json",
+ "https://cdn.jsdelivr.net/gh/clearurls/rules@refs/heads/gh-pages/data.minify.json",
"https://rules2.clearurls.xyz/data.minify.json",
- "https://raw.githubusercontent.com/ClearURLs/Rules/refs/heads/master/data.min.json",
+ "https://rules1.clearurls.xyz/data.minify.json",
]
class Fields: