mirror of
https://github.com/searxng/searxng.git
synced 2026-09-01 20:11:26 +00:00
[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:
@@ -28,11 +28,11 @@ class TrackerPatternsDB:
|
|||||||
|
|
||||||
ctx_name = "data_tracker_patterns"
|
ctx_name = "data_tracker_patterns"
|
||||||
|
|
||||||
CLEAR_LIST_URL = [
|
|
||||||
# ClearURL rule lists, the first one that responds HTTP 200 is used
|
# ClearURL rule lists, the first one that responds HTTP 200 is used
|
||||||
"https://rules1.clearurls.xyz/data.minify.json",
|
CLEAR_LIST_URL = [
|
||||||
|
"https://cdn.jsdelivr.net/gh/clearurls/rules@refs/heads/gh-pages/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:
|
||||||
|
|||||||
Reference in New Issue
Block a user