mirror of
https://github.com/benbusby/farside.git
synced 2025-04-20 02:48:42 +00:00
Exclude i2p address from searx(ng) auto update
This commit is contained in:
parent
0202677a94
commit
1b88e67ed0
1 changed files with 4 additions and 2 deletions
6
.github/workflows/update-instances.yml
vendored
6
.github/workflows/update-instances.yml
vendored
|
@ -50,6 +50,7 @@ jobs:
|
||||||
select(.value.tls.grade == "A+" or .value.tls.grade == "A") |
|
select(.value.tls.grade == "A+" or .value.tls.grade == "A") |
|
||||||
select(.value.http.grade == "A+" or .value.http.grade == "A") |
|
select(.value.http.grade == "A+" or .value.http.grade == "A") |
|
||||||
select(.value.html.grade == "V" or .value.html.grade == "F") |
|
select(.value.html.grade == "V" or .value.html.grade == "F") |
|
||||||
|
select(.key | contains(".i2p") | not) |
|
||||||
.key
|
.key
|
||||||
] | sort' > searx-tmp.json
|
] | sort' > searx-tmp.json
|
||||||
|
|
||||||
|
@ -77,6 +78,7 @@ jobs:
|
||||||
select(.value.tls.grade == "A+" or .value.tls.grade == "A") |
|
select(.value.tls.grade == "A+" or .value.tls.grade == "A") |
|
||||||
select(.value.http.grade == "A+" or .value.http.grade == "A") |
|
select(.value.http.grade == "A+" or .value.http.grade == "A") |
|
||||||
select(.value.html.grade == "V" or .value.html.grade == "F") |
|
select(.value.html.grade == "V" or .value.html.grade == "F") |
|
||||||
|
select(.key | contains(".i2p") | not) |
|
||||||
.key
|
.key
|
||||||
] | sort' > searxng-tmp.json
|
] | sort' > searxng-tmp.json
|
||||||
|
|
||||||
|
@ -158,8 +160,8 @@ jobs:
|
||||||
# ==============================================================
|
# ==============================================================
|
||||||
curl -s https://codeberg.org/orenom/Wikiless/raw/branch/main/instances.json | \
|
curl -s https://codeberg.org/orenom/Wikiless/raw/branch/main/instances.json | \
|
||||||
jq '[
|
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
|
sort' > wikiless-tmp.json
|
||||||
jq --slurpfile wikiless wikiless-tmp.json \
|
jq --slurpfile wikiless wikiless-tmp.json \
|
||||||
'( .[] | select(.type == "wikiless") )
|
'( .[] | select(.type == "wikiless") )
|
||||||
|
|
Loading…
Add table
Reference in a new issue