mirror of https://github.com/supernets/LibreY.git
Sry
This commit is contained in:
parent
2a6cf9e57b
commit
fcd56802ea
|
@ -19,6 +19,12 @@
|
||||||
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;
|
||||||
|
|
||||||
|
@ -59,6 +65,7 @@
|
||||||
|
|
||||||
$frontends = array(
|
$frontends = array(
|
||||||
"youtube.com" => "invidious",
|
"youtube.com" => "invidious",
|
||||||
|
"instagram.com" => "bibliogram",
|
||||||
"music.youtube.com" => "hyperpipe",
|
"music.youtube.com" => "hyperpipe",
|
||||||
"imgur.io" => "rimgo",
|
"imgur.io" => "rimgo",
|
||||||
"medium.com" => "scribe",
|
"medium.com" => "scribe",
|
||||||
|
|
Loading…
Reference in New Issue