1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-04-25 13:10:02 +00:00

Exclude i2p address from searx(ng) auto update

This commit is contained in:
Ben Busby 2022-07-13 10:53:27 -06:00
parent 0202677a94
commit 1b88e67ed0
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1

View file

@ -50,6 +50,7 @@ jobs:
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(.key | contains(".i2p") | not) |
.key
] | sort' > searx-tmp.json
@ -77,6 +78,7 @@ jobs:
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(.key | contains(".i2p") | not) |
.key
] | sort' > searxng-tmp.json
@ -158,8 +160,8 @@ jobs:
# ==============================================================
curl -s https://codeberg.org/orenom/Wikiless/raw/branch/main/instances.json | \
jq '[
.[] |
select((.url | contains(".onion") | not) and (.url | contains("https"))).url ] |
.[] |
select((.url | contains(".onion") | not) and (.url | contains("https"))).url ] |
sort' > wikiless-tmp.json
jq --slurpfile wikiless wikiless-tmp.json \
'( .[] | select(.type == "wikiless") )