From 1b88e67ed0fa27d1fc0b18437ecb1489e08ee4e9 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Wed, 13 Jul 2022 10:53:27 -0600 Subject: [PATCH] Exclude i2p address from searx(ng) auto update --- .github/workflows/update-instances.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml index 4a60667..c795192 100644 --- a/.github/workflows/update-instances.yml +++ b/.github/workflows/update-instances.yml @@ -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") )