[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.
This commit is contained in:
Ivan Gabaldon
2026-09-01 21:43:50 +02:00
committed by GitHub
parent 248e37991c
commit 18af21159b

View File

@@ -28,11 +28,11 @@ class TrackerPatternsDB:
ctx_name = "data_tracker_patterns" ctx_name = "data_tracker_patterns"
# ClearURL rule lists, the first one that responds HTTP 200 is used
CLEAR_LIST_URL = [ CLEAR_LIST_URL = [
# ClearURL rule lists, the first one that responds HTTP 200 is used "https://cdn.jsdelivr.net/gh/clearurls/rules@refs/heads/gh-pages/data.minify.json",
"https://rules1.clearurls.xyz/data.minify.json",
"https://rules2.clearurls.xyz/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: class Fields: