update invidious instances list

This commit is contained in:
bopol 2021-01-22 19:20:22 +01:00
parent beb705013c
commit 53d3f7989b
2 changed files with 12 additions and 4 deletions

View file

@ -111,7 +111,7 @@ public class YoutubeParsingHelper {
return host.equalsIgnoreCase("invidio.us")
|| host.equalsIgnoreCase("dev.invidio.us")
|| host.equalsIgnoreCase("www.invidio.us")
|| host.equalsIgnoreCase("vid.encryptionin.space")
|| host.equalsIgnoreCase("redirect.invidious.io")
|| host.equalsIgnoreCase("invidious.snopyta.org")
|| host.equalsIgnoreCase("yewtu.be")
|| host.equalsIgnoreCase("tube.connect.cafe")
@ -122,7 +122,11 @@ public class YoutubeParsingHelper {
|| host.equalsIgnoreCase("invidious.xyz")
|| host.equalsIgnoreCase("vid.mint.lgbt")
|| host.equalsIgnoreCase("invidiou.site")
|| host.equalsIgnoreCase("invidious.fdn.fr");
|| host.equalsIgnoreCase("invidious.fdn.fr")
|| host.equalsIgnoreCase("invidious.048596.xyz")
|| host.equalsIgnoreCase("invidious.zee.li")
|| host.equalsIgnoreCase("vid.puffyan.us")
|| host.equalsIgnoreCase("ytprivate.com");
}
/**

View file

@ -186,7 +186,6 @@ public class YoutubeStreamLinkHandlerFactory extends LinkHandlerFactory {
case "WWW.INVIDIO.US":
case "DEV.INVIDIO.US":
case "INVIDIO.US":
case "VID.ENCRYPTIONIN.SPACE":
case "INVIDIOUS.SNOPYTA.ORG":
case "YEWTU.BE":
case "TUBE.CONNECT.CAFE":
@ -197,7 +196,12 @@ public class YoutubeStreamLinkHandlerFactory extends LinkHandlerFactory {
case "INVIDIOUS.XYZ":
case "VID.MINT.LGBT":
case "INVIDIOU.SITE":
case "INVIDIOUS.FDN.FR": { // code-block for hooktube.com and Invidious instances
case "INVIDIOUS.FDN.FR":
case "INVIDIOUS.048596.XYZ":
case "INVIDIOUS.ZEE.LI":
case "VID.PUFFYAN.US":
case "YTPRIVATE.COM":
case "REDIRECT.INVIDIOUS.IO": { // code-block for hooktube.com and Invidious instances
if (path.equals("watch")) {
String viewQueryValue = Utils.getQueryValue(url, "v");
if (viewQueryValue != null) {