Add librey support
This commit is contained in:
parent
6385dca3f6
commit
4e1e6e86b5
3 changed files with 66 additions and 0 deletions
16
.github/workflows/update-instances.yml
vendored
16
.github/workflows/update-instances.yml
vendored
|
@ -245,6 +245,22 @@ jobs:
|
||||||
|
|
||||||
apply_update
|
apply_update
|
||||||
|
|
||||||
|
# ==============================================================
|
||||||
|
# librey update
|
||||||
|
# ==============================================================
|
||||||
|
curl -s https://raw.githubusercontent.com/Ahwxorg/LibreY/main/instances.json | \
|
||||||
|
jq '[
|
||||||
|
.instances |
|
||||||
|
.[] |
|
||||||
|
select(.librey == true) |
|
||||||
|
.clearnet] |
|
||||||
|
sort' > librey-tmp.json
|
||||||
|
jq --slurpfile librey librey-tmp.json \
|
||||||
|
'( .[] | select(.type == "librey") )
|
||||||
|
.instances |= $librey[0]' services-full.json > services-tmp.json
|
||||||
|
|
||||||
|
apply_update
|
||||||
|
|
||||||
# ==============================================================
|
# ==============================================================
|
||||||
# TODO: Update instances for other services
|
# TODO: Update instances for other services
|
||||||
# ==============================================================
|
# ==============================================================
|
||||||
|
|
|
@ -595,5 +595,30 @@
|
||||||
"https://4get.ca",
|
"https://4get.ca",
|
||||||
"https://4get.zzls.xyz"
|
"https://4get.zzls.xyz"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "librey",
|
||||||
|
"test_url": "/search.php?q=<%=query%>",
|
||||||
|
"fallback": "https://search.ahwx.org",
|
||||||
|
"instances": [
|
||||||
|
"https://librex.me",
|
||||||
|
"https://librex.nohost.network",
|
||||||
|
"https://librex.retro-hax.net",
|
||||||
|
"https://librex.revvy.de",
|
||||||
|
"https://librex.yogeshlamichhane.com.np",
|
||||||
|
"https://librex.zzls.xyz",
|
||||||
|
"https://librey.baczek.me",
|
||||||
|
"https://librey.bloatcat.tk/",
|
||||||
|
"https://librey.org",
|
||||||
|
"https://librey.spaceint.fr",
|
||||||
|
"https://lx.benike.me",
|
||||||
|
"https://lx.vern.cc",
|
||||||
|
"https://search.ahwx.org",
|
||||||
|
"https://search.davidovski.xyz",
|
||||||
|
"https://search.funami.tech",
|
||||||
|
"https://search.pabloferreiro.es",
|
||||||
|
"https://search.ratakor.com",
|
||||||
|
"https://search2.ahwx.org"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -552,5 +552,30 @@
|
||||||
"https://4get.ca",
|
"https://4get.ca",
|
||||||
"https://4get.zzls.xyz"
|
"https://4get.zzls.xyz"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "librey",
|
||||||
|
"test_url": "/search.php?q=<%=query%>",
|
||||||
|
"fallback": "https://search.ahwx.org",
|
||||||
|
"instances": [
|
||||||
|
"https://librex.me",
|
||||||
|
"https://librex.nohost.network",
|
||||||
|
"https://librex.retro-hax.net",
|
||||||
|
"https://librex.revvy.de",
|
||||||
|
"https://librex.yogeshlamichhane.com.np",
|
||||||
|
"https://librex.zzls.xyz",
|
||||||
|
"https://librey.baczek.me",
|
||||||
|
"https://librey.bloatcat.tk/",
|
||||||
|
"https://librey.org",
|
||||||
|
"https://librey.spaceint.fr",
|
||||||
|
"https://lx.benike.me",
|
||||||
|
"https://lx.vern.cc",
|
||||||
|
"https://search.ahwx.org",
|
||||||
|
"https://search.davidovski.xyz",
|
||||||
|
"https://search.funami.tech",
|
||||||
|
"https://search.pabloferreiro.es",
|
||||||
|
"https://search.ratakor.com",
|
||||||
|
"https://search2.ahwx.org"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue