diff --git a/.github/workflows/update-instances.yml b/.github/workflows/update-instances.yml index c806292..5f5a98a 100644 --- a/.github/workflows/update-instances.yml +++ b/.github/workflows/update-instances.yml @@ -245,6 +245,22 @@ jobs: apply_update + # ============================================================== + # librex update + # ============================================================== + curl -s https://raw.githubusercontent.com/Ahwxorg/LibreY/main/instances.json | \ + jq '[ + .instances | + .[] | + select(.librey|not) | + .clearnet] | + sort' > librex-tmp.json + jq --slurpfile librex librex-tmp.json \ + '( .[] | select(.type == "librex") ) + .instances |= $librex[0]' services-full.json > services-tmp.json + + apply_update + # ============================================================== # TODO: Update instances for other services # ============================================================== diff --git a/services-full.json b/services-full.json index 86ac8dd..3696db9 100644 --- a/services-full.json +++ b/services-full.json @@ -456,7 +456,7 @@ { "type": "librex", "test_url": "/search.php?q=<%=query%>", - "fallback": "https://search.femboy.hu", + "fallback": "https://librex.myroware.eu", "instances": [ "https://search.femboy.hu", "https://lx.vern.cc", diff --git a/services.json b/services.json index 7a87104..b2082da 100644 --- a/services.json +++ b/services.json @@ -421,7 +421,7 @@ { "type": "librex", "test_url": "/search.php?q=<%=query%>", - "fallback": "https://search.femboy.hu", + "fallback": "https://librex.myroware.eu", "instances": [ "https://search.femboy.hu", "https://lx.vern.cc",