fix: lumaeris, remove unsupported version check

This commit is contained in:
Artemy Egorov 2024-08-07 19:55:54 +03:00
parent 3d23107865
commit f641002f6e
3 changed files with 21 additions and 26 deletions

View file

@ -1,7 +1,7 @@
# Instances of TXTDot proxies # Instances of TXTDot proxies
- <https://txt.dc09.ru> ![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression) - <https://txt.dc09.ru> ![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.dc09.ru%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression)
- <https://txt.bloat.cat> (unsupported configuration version) - <https://txt.bloat.cat> ![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.bloat.cat%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression)
- <https://txt.clovius.club> (unsupported configuration version) - <https://txt.clovius.club> ![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxt.clovius.club%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression)
- <https://txtd.lumaeris.com/> ![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2F%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2F%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2F%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2F%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2F%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression) - <https://txtd.lumaeris.com> ![version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=version&label=version) ![protocol](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=protocol&label=protocol) ![searx](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=third_party.searx_url&label=searx) ![webder](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=third_party.webder_url&label=webder) ![image compression](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Ftxtd.lumaeris.com%2Fconfiguration%2Fjson&query=proxy.img_compress&label=image%20compression)

View file

@ -20,9 +20,6 @@ async function run() {
instances.map(async (instance) => { instances.map(async (instance) => {
if (typeof instance === "string") { if (typeof instance === "string") {
const config_url = instance + "/configuration/json"; const config_url = instance + "/configuration/json";
try {
await fetch(config_url).then((res) => res.json());
return `- <${instance}> ${badge( return `- <${instance}> ${badge(
config_url, config_url,
"version", "version",
@ -40,9 +37,7 @@ async function run() {
"image compression", "image compression",
"proxy.img_compress" "proxy.img_compress"
)}`; )}`;
} catch {
return `- <${instance}> (unsupported configuration version)`;
}
} }
}) })
) )

View file

@ -2,5 +2,5 @@
"https://txt.dc09.ru", "https://txt.dc09.ru",
"https://txt.bloat.cat", "https://txt.bloat.cat",
"https://txt.clovius.club", "https://txt.clovius.club",
"https://txtd.lumaeris.com/" "https://txtd.lumaeris.com"
] ]