From 18af21159bd7b84880cd7265b184825493322232 Mon Sep 17 00:00:00 2001 From: Ivan Gabaldon Date: Tue, 1 Sep 2026 21:43:50 +0200 Subject: [PATCH] [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. --- searx/data/tracker_patterns.py | 6 +++--- 1 file 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: