Remove SimplyTranslate from nightly update

The ST website has been down for > 1 week, which seems to indicate that
it isn't coming back online anytime soon. Should reevaluate later to see
if it's back. Individual instances seem to be working fine.
This commit is contained in:
Ben Busby 2023-04-13 12:30:46 -06:00
parent 98f793d4c7
commit 6ff757425a
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1

View file

@ -112,15 +112,18 @@ jobs:
# ==============================================================
# SimplyTranslate update
# ==============================================================
curl -s https://simple-web.org/instances/simplytranslate > st-out
sed -i -e 's/^/https:\/\//' st-out
jq -ncR '[inputs]' <<< "$(cat st-out | sort)" > st-tmp.json
# TODO: simple-web.org seems to have been down for >1 week (13 Apr 2023)
# This needs to be reevaluated later to see if this is a permanent
# issue.
#curl -s https://simple-web.org/instances/simplytranslate > st-out
#sed -i -e 's/^/https:\/\//' st-out
#jq -ncR '[inputs]' <<< "$(cat st-out | sort)" > st-tmp.json
jq --slurpfile simplytranslate st-tmp.json \
'( .[] | select(.type == "simplytranslate") )
.instances |= $simplytranslate[0]' services-full.json > services-tmp.json
#jq --slurpfile simplytranslate st-tmp.json \
#'( .[] | select(.type == "simplytranslate") )
#.instances |= $simplytranslate[0]' services-full.json > services-tmp.json
apply_update
#apply_update
# ==============================================================
# Whoogle update