mirror of
https://github.com/benbusby/farside.git
synced 2025-04-25 13:10:02 +00:00
Use 'generator' field to filter SearXNG instances
See #23 More info: searxng/searxng#1046
This commit is contained in:
parent
2d4fa1f6b9
commit
29178e02c3
1 changed files with 4 additions and 4 deletions
8
.github/workflows/update-instances.yml
vendored
8
.github/workflows/update-instances.yml
vendored
|
@ -36,7 +36,7 @@ jobs:
|
|||
git checkout main
|
||||
|
||||
# ==============================================================
|
||||
# Searx update
|
||||
# searx update
|
||||
# ==============================================================
|
||||
curl -s https://searx.space/data/instances.json | \
|
||||
jq '[
|
||||
|
@ -62,21 +62,21 @@ jobs:
|
|||
apply_update
|
||||
|
||||
# ==============================================================
|
||||
# SearxNG update
|
||||
# SearXNG update
|
||||
# ==============================================================
|
||||
curl -s https://searx.space/data/instances.json | \
|
||||
jq '[
|
||||
.instances |
|
||||
to_entries[] |
|
||||
select(.value.network_type == "normal") |
|
||||
select(.value.generator | . != null) |
|
||||
select(.value.generator | contains("searxng")) |
|
||||
select(.value.version | . != null) |
|
||||
select(.value.network.asn_privacy == 0) |
|
||||
select(.value.http.error == null) |
|
||||
select(.value.tls.grade == "A+" or .value.tls.grade == "A") |
|
||||
select(.value.http.grade == "A+" or .value.http.grade == "A") |
|
||||
select(.value.html.grade == "V" or .value.html.grade == "F") |
|
||||
select(.value.docs_url | . != null) |
|
||||
select(.value.docs_url | contains("searxng")) |
|
||||
.key
|
||||
] | sort' > searxng-tmp.json
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue