mirror of
https://github.com/benbusby/farside.git
synced 2025-04-20 10:58:42 +00:00
Support libremdb and querte (imdb and quora alts)
Includes support for redirecting via full url, ie: -> farside.link/https://www.imdb.com/title/tt0133093/ will redirect to a libremdb instance. Closes #48
This commit is contained in:
parent
bf59789c45
commit
8fbe016cdb
3 changed files with 57 additions and 2 deletions
|
@ -16,6 +16,8 @@ defmodule Farside do
|
||||||
@imgur_regex ~r/imgur.com|rimgo/
|
@imgur_regex ~r/imgur.com|rimgo/
|
||||||
@gtranslate_regex ~r/translate.google.com|lingva/
|
@gtranslate_regex ~r/translate.google.com|lingva/
|
||||||
@tiktok_regex ~r/tiktok.com|proxitok/
|
@tiktok_regex ~r/tiktok.com|proxitok/
|
||||||
|
@imdb_regex ~r/imdb.com|libremdb/
|
||||||
|
@quora_regex ~r/quora.com|querte/
|
||||||
|
|
||||||
@parent_services %{
|
@parent_services %{
|
||||||
@youtube_regex => ["invidious", "piped"],
|
@youtube_regex => ["invidious", "piped"],
|
||||||
|
@ -27,7 +29,9 @@ defmodule Farside do
|
||||||
@odysee_regex => ["librarian"],
|
@odysee_regex => ["librarian"],
|
||||||
@imgur_regex => ["rimgo"],
|
@imgur_regex => ["rimgo"],
|
||||||
@gtranslate_regex => ["lingva"],
|
@gtranslate_regex => ["lingva"],
|
||||||
@tiktok_regex => ["proxitok"]
|
@tiktok_regex => ["proxitok"],
|
||||||
|
@imdb_regex => ["libremdb"],
|
||||||
|
@quora_regex => ["querte"]
|
||||||
}
|
}
|
||||||
|
|
||||||
def get_services_map do
|
def get_services_map do
|
||||||
|
|
|
@ -363,5 +363,32 @@
|
||||||
"https://search.funami.tech",
|
"https://search.funami.tech",
|
||||||
"https://librex.catalyst.sx"
|
"https://librex.catalyst.sx"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "querte",
|
||||||
|
"test_url": "/How-does-the-Z-boson-decay",
|
||||||
|
"fallback": "https://quetre.herokuapp.com",
|
||||||
|
"instances": [
|
||||||
|
"https://quetre.herokuapp.com",
|
||||||
|
"https://quora.vern.cc",
|
||||||
|
"https://quetre.pussthecat.org",
|
||||||
|
"https://wuetre.herokuapp.com",
|
||||||
|
"https://quetreus.herokuapp.com",
|
||||||
|
"https://quetre.tokhmi.xyz",
|
||||||
|
"https://quetre.projectsegfau.lt",
|
||||||
|
"https://quetre.esmailelbob.xyz"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "libremdb",
|
||||||
|
"test_url": "/title/tt0133093/",
|
||||||
|
"fallback": "https://libremdb.herokuapp.com",
|
||||||
|
"instances": [
|
||||||
|
"https://libremdb.herokuapp.com",
|
||||||
|
"https://libremdb.pussthecat.org",
|
||||||
|
"https://libremdbeu.herokuapp.com",
|
||||||
|
"https://lmdb.tokhmi.xyz",
|
||||||
|
"https://libremdb.esmailelbob.xyz"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -233,7 +233,6 @@
|
||||||
"https://searx.sev.monster",
|
"https://searx.sev.monster",
|
||||||
"https://searx.slipfox.xyz/searx",
|
"https://searx.slipfox.xyz/searx",
|
||||||
"https://searx.tiekoetter.com",
|
"https://searx.tiekoetter.com",
|
||||||
"https://searx.vimproved.me",
|
|
||||||
"https://searx.youshitsune.me",
|
"https://searx.youshitsune.me",
|
||||||
"https://searxng.tordenskjold.de",
|
"https://searxng.tordenskjold.de",
|
||||||
"https://serx.ml",
|
"https://serx.ml",
|
||||||
|
@ -287,5 +286,30 @@
|
||||||
"https://librex.beparanoid.de",
|
"https://librex.beparanoid.de",
|
||||||
"https://search.davidovski.xyz"
|
"https://search.davidovski.xyz"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "querte",
|
||||||
|
"test_url": "/How-does-the-Z-boson-decay",
|
||||||
|
"fallback": "https://quetre.herokuapp.com",
|
||||||
|
"instances": [
|
||||||
|
"https://quetre.herokuapp.com",
|
||||||
|
"https://quora.vern.cc",
|
||||||
|
"https://quetre.pussthecat.org",
|
||||||
|
"https://wuetre.herokuapp.com",
|
||||||
|
"https://quetreus.herokuapp.com",
|
||||||
|
"https://quetre.projectsegfau.lt",
|
||||||
|
"https://quetre.esmailelbob.xyz"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "libremdb",
|
||||||
|
"test_url": "/title/tt0133093/",
|
||||||
|
"fallback": "https://libremdb.herokuapp.com",
|
||||||
|
"instances": [
|
||||||
|
"https://libremdb.herokuapp.com",
|
||||||
|
"https://libremdb.pussthecat.org",
|
||||||
|
"https://libremdbeu.herokuapp.com",
|
||||||
|
"https://libremdb.esmailelbob.xyz"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Add table
Reference in a new issue