commit 4d4f49b44b9c9e7f88cc6b6f94d052b70ac40613
parent 0c86068e4167996faed9944050302232f916fe89
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Wed, 16 Oct 2024 19:49:24 +0200
feat: use youtube via invidious-router
In an effort to only use privacy preserving services in a default
installation of serĉi, invidious-router (via video.fosswelt.org) is used
as a frontend to YouTube. This will try to find a suitable invidious
instance first and fall back to youtube directly if none is available.
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/config/config.php b/config/config.php
@@ -391,11 +391,11 @@ $searches = array(
"keywords" => array("winehq", "wine")
),
"youtube" => array(
- "name" => "YouTube",
- "website" => "https://www.youtube.com",
- "query" => "https://www.youtube.com/results?search_query=%s",
+ "name" => "YouTube (via Invidious)",
+ "website" => "https://video.fosswelt.org",
+ "query" => "https://video.fosswelt.org/results?search_query=%s",
"categories" => array("everything", "vid"),
- "keywords" => array("youtube", "yt")
+ "keywords" => array("youtube", "invidious", "yt", "iv")
),
);