Update invidious instances

This commit is contained in:
bopol 2021-06-23 14:12:03 +02:00
parent 35c1bdd012
commit b96b2a6eba
2 changed files with 24 additions and 8 deletions

View File

@ -125,18 +125,26 @@ public class YoutubeParsingHelper {
|| host.equalsIgnoreCase("invidious.snopyta.org")
|| host.equalsIgnoreCase("yewtu.be")
|| host.equalsIgnoreCase("tube.connect.cafe")
|| host.equalsIgnoreCase("invidious.zapashcanon.fr")
|| host.equalsIgnoreCase("invidious.kavin.rocks")
|| host.equalsIgnoreCase("invidious.tube")
|| host.equalsIgnoreCase("invidious-us.kavin.rocks")
|| host.equalsIgnoreCase("piped.kavin.rocks")
|| host.equalsIgnoreCase("invidious.site")
|| host.equalsIgnoreCase("invidious.xyz")
|| host.equalsIgnoreCase("vid.mint.lgbt")
|| host.equalsIgnoreCase("invidiou.site")
|| host.equalsIgnoreCase("invidious.fdn.fr")
|| host.equalsIgnoreCase("invidious.048596.xyz")
|| host.equalsIgnoreCase("invidious.zee.li")
|| host.equalsIgnoreCase("vid.puffyan.us")
|| host.equalsIgnoreCase("ytprivate.com");
|| host.equalsIgnoreCase("ytprivate.com")
|| host.equalsIgnoreCase("invidious.namazso.eu")
|| host.equalsIgnoreCase("invidious.silkky.cloud")
|| host.equalsIgnoreCase("invidious.exonip.de")
|| host.equalsIgnoreCase("inv.riverside.rocks")
|| host.equalsIgnoreCase("invidious.blamefran.net")
|| host.equalsIgnoreCase("invidious.moomoo.me")
|| host.equalsIgnoreCase("ytb.trom.tf")
|| host.equalsIgnoreCase("yt.cyberhost.uk")
|| host.equalsIgnoreCase("y.com.cm");
}
/**

View File

@ -177,18 +177,26 @@ public class YoutubeStreamLinkHandlerFactory extends LinkHandlerFactory {
case "INVIDIOUS.SNOPYTA.ORG":
case "YEWTU.BE":
case "TUBE.CONNECT.CAFE":
case "INVIDIOUS.ZAPASHCANON.FR":
case "INVIDIOUS.KAVIN.ROCKS":
case "INVIDIOUS.TUBE":
case "INVIDIOUS-US.KAVIN.ROCKS":
case "PIPED.KAVIN.ROCKS":
case "INVIDIOUS.SITE":
case "INVIDIOUS.XYZ":
case "VID.MINT.LGBT":
case "INVIDIOU.SITE":
case "INVIDIOUS.FDN.FR":
case "INVIDIOUS.048596.XYZ":
case "INVIDIOUS.ZEE.LI":
case "VID.PUFFYAN.US":
case "YTPRIVATE.COM": { // code-block for hooktube.com and Invidious instances
case "YTPRIVATE.COM":
case "INVIDIOUS.NAMAZSO.EU":
case "INVIDIOUS.SILKKY.CLOUD":
case "INVIDIOUS.EXONIP.DE":
case "INV.RIVERSIDE.ROCKS":
case "INVIDIOUS.BLAMEFRAN.NET":
case "INVIDIOUS.MOOMOO.ME":
case "YTB.TROM.TF":
case "YT.CYBERHOST.UK":
case "Y.COM.CM": { // code-block for hooktube.com and Invidious instances
if (path.equals("watch")) {
String viewQueryValue = Utils.getQueryValue(url, "v");
if (viewQueryValue != null) {