fixed wikipedia bang, added tor instance for search.ahwx.org

This commit is contained in:
hnhx 2023-03-14 12:12:47 +01:00
parent a24708edec
commit 35d9a21c5d
3 changed files with 8 additions and 8 deletions

View File

@ -20,11 +20,11 @@
| [librex.revvy.de](https://librex.revvy.de/) | [](http://librex.revvybrr6pvbx4n3j4475h4ghw4elqr4t5xo2vtd3gfpu2nrsnhh57id.onion/) | [](http://revekebotog64xrrammtsmjwtwlg3vqyzwdurzt2pu6botg4bejq.b32.i2p/) | 🇨🇦 CA |
| [librex.mikata.ru](https://librex.mikata.ru/) | [](http://f7ssz7l3biu4fugwctfpcx4txg5yq4gqhrt473ledsuc3ivtd3omniid.onion/) | ❌ | 🇺🇸 US |
| [search.milivojevic.in.rs](https://search.milivojevic.in.rs/) | [](http://librex2xsek6qnh2i4yufuzqjumfdwtw7io7omgmimpzna6llqudqzyd.onion/) | ❌ | 🇳🇱 NL |
| [search.ahwx.org](https://search.ahwx.org/) | [](http://fcnfg6avz45hqzwbneekq57u2mqbnwa7veyvjcc4dndqbatvkjlaj7yd.onion/) | ❌ | 🇳🇱 NL |
| [search.davidovski.xyz](https://search.davidovski.xyz/) | ❌ | ❌ | 🇬🇧 UK |
| [search.madreyk.xyz](https://search.madreyk.xyz/) | ❌ | ❌ | 🇩🇪 DE |
| [search.pabloferreiro.es](https://search.pabloferreiro.es/) | ❌ | ❌ | 🇩🇪 DE |
| [buscar.weblibre.org](https://buscar.weblibre.org/) | ❌ | ❌ | 🇨🇱 CL |
| [search.ahwx.org](https://search.ahwx.org/) | ❌ | ❌ | 🇳🇱 NL |
| [librex.pufe.org](https://librex.pufe.org/) | ❌ | ❌ | :new_zealand: NZ |
| [librex.ratakor.com](https://librex.ratakor.com/) | ❌ | ❌ | 🇫🇷 FR |
| [search.tildevarsh.in](https://search.tildevarsh.in/) | ❌ | ❌ | 🇮🇳 IN |

View File

@ -36,6 +36,12 @@
"i2p": null,
"country": "US"
},
{
"clearnet": "https://search.ahwx.org/",
"tor": "http://fcnfg6avz45hqzwbneekq57u2mqbnwa7veyvjcc4dndqbatvkjlaj7yd.onion/",
"i2p": null,
"country": "NL"
},
{
"clearnet": "https://search.davidovski.xyz/",
"tor": null,
@ -60,12 +66,6 @@
"i2p": null,
"country": "CL"
},
{
"clearnet": "https://search.ahwx.org/",
"tor": null,
"i2p": null,
"country": "NL"
},
{
"clearnet": "https://librex.pufe.org/",
"tor": null,

View File

@ -45,7 +45,7 @@
if (count($wiki_split) > 1)
{
$lang = explode("://", $wiki_split[0])[1];
$url = $frontend . explode($original, $url)[1] . "?lang=" . $lang;
$url = $frontend . explode($original, $url)[1] . (strpos($url, "?") !== false ? "&" : "?") . "lang=" . $lang;
}
}
else if (strpos($url, "fandom.com") !== false)