mirror of
https://github.com/hnhx/librex.git
synced 2025-01-27 03:03:03 -03:00
Added Frontends: Medium,GitHub,
Imgur,yt music,odysee
This commit is contained in:
parent
9fad27104b
commit
3776615049
1 changed files with 5 additions and 7 deletions
|
@ -19,12 +19,6 @@
|
||||||
else if (!empty($config->$frontend))
|
else if (!empty($config->$frontend))
|
||||||
$frontend = $config->$frontend;
|
$frontend = $config->$frontend;
|
||||||
|
|
||||||
if ($original == "instagram.com")
|
|
||||||
{
|
|
||||||
if (!strpos($url, "/p/"))
|
|
||||||
$frontend .= "/u";
|
|
||||||
}
|
|
||||||
|
|
||||||
if (empty(trim($frontend)))
|
if (empty(trim($frontend)))
|
||||||
return $url;
|
return $url;
|
||||||
|
|
||||||
|
@ -65,7 +59,11 @@
|
||||||
|
|
||||||
$frontends = array(
|
$frontends = array(
|
||||||
"youtube.com" => "invidious",
|
"youtube.com" => "invidious",
|
||||||
"instagram.com" => "bibliogram",
|
"music.youtube.com" => "hyperpipe",
|
||||||
|
"imgur.io" => "rimgo",
|
||||||
|
"medium.com" => "scribe",
|
||||||
|
"github.com" => "gothub",
|
||||||
|
"odysee.com" => "hyperpipe",
|
||||||
"twitter.com" => "nitter",
|
"twitter.com" => "nitter",
|
||||||
"reddit.com" => "libreddit",
|
"reddit.com" => "libreddit",
|
||||||
"tiktok.com" => "proxitok",
|
"tiktok.com" => "proxitok",
|
||||||
|
|
Loading…
Add table
Reference in a new issue