Merge pull request #463 from opusforlife2/update_invidious_URLs

Update Invidious URL List
This commit is contained in:
Tobias Groza 2020-11-28 13:30:32 +01:00 committed by GitHub
commit b7a995187f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 24 deletions

View File

@ -110,20 +110,18 @@ public class YoutubeParsingHelper {
return host.equalsIgnoreCase("invidio.us") return host.equalsIgnoreCase("invidio.us")
|| host.equalsIgnoreCase("dev.invidio.us") || host.equalsIgnoreCase("dev.invidio.us")
|| host.equalsIgnoreCase("www.invidio.us") || host.equalsIgnoreCase("www.invidio.us")
|| host.equalsIgnoreCase("vid.encryptionin.space")
|| host.equalsIgnoreCase("invidious.snopyta.org") || host.equalsIgnoreCase("invidious.snopyta.org")
|| host.equalsIgnoreCase("fi.invidious.snopyta.org")
|| host.equalsIgnoreCase("yewtu.be") || host.equalsIgnoreCase("yewtu.be")
|| host.equalsIgnoreCase("invidious.ggc-project.de") || host.equalsIgnoreCase("tube.connect.cafe")
|| host.equalsIgnoreCase("yt.maisputain.ovh") || host.equalsIgnoreCase("invidious.zapashcanon.fr")
|| host.equalsIgnoreCase("invidious.13ad.de") || host.equalsIgnoreCase("invidious.kavin.rocks")
|| host.equalsIgnoreCase("invidious.toot.koeln") || host.equalsIgnoreCase("invidious.tube")
|| host.equalsIgnoreCase("invidious.fdn.fr") || host.equalsIgnoreCase("invidious.site")
|| host.equalsIgnoreCase("watch.nettohikari.com") || host.equalsIgnoreCase("invidious.xyz")
|| host.equalsIgnoreCase("invidious.snwmds.net") || host.equalsIgnoreCase("vid.mint.lgbt")
|| host.equalsIgnoreCase("invidious.snwmds.org") || host.equalsIgnoreCase("invidiou.site")
|| host.equalsIgnoreCase("invidious.snwmds.com") || host.equalsIgnoreCase("invidious.fdn.fr");
|| host.equalsIgnoreCase("invidious.sunsetravens.com")
|| host.equalsIgnoreCase("invidious.gachirangers.com");
} }
/** /**

View File

@ -186,20 +186,18 @@ public class YoutubeStreamLinkHandlerFactory extends LinkHandlerFactory {
case "WWW.INVIDIO.US": case "WWW.INVIDIO.US":
case "DEV.INVIDIO.US": case "DEV.INVIDIO.US":
case "INVIDIO.US": case "INVIDIO.US":
case "VID.ENCRYPTIONIN.SPACE":
case "INVIDIOUS.SNOPYTA.ORG": case "INVIDIOUS.SNOPYTA.ORG":
case "FI.INVIDIOUS.SNOPYTA.ORG":
case "YEWTU.BE": case "YEWTU.BE":
case "INVIDIOUS.GGC-PROJECT.DE": case "TUBE.CONNECT.CAFE":
case "YT.MAISPUTAIN.OVH": case "INVIDIOUS.ZAPASHCANON.FR":
case "INVIDIOUS.13AD.DE": case "INVIDIOUS.KAVIN.ROCKS":
case "INVIDIOUS.TOOT.KOELN": case "INVIDIOUS.TUBE":
case "INVIDIOUS.FDN.FR": case "INVIDIOUS.SITE":
case "WATCH.NETTOHIKARI.COM": case "INVIDIOUS.XYZ":
case "INVIDIOUS.SNWMDS.NET": case "VID.MINT.LGBT":
case "INVIDIOUS.SNWMDS.ORG": case "INVIDIOU.SITE":
case "INVIDIOUS.SNWMDS.COM": case "INVIDIOUS.FDN.FR": { // code-block for hooktube.com and Invidious instances
case "INVIDIOUS.SUNSETRAVENS.COM":
case "INVIDIOUS.GACHIRANGERS.COM": { // code-block for hooktube.com and Invidious instances
if (path.equals("watch")) { if (path.equals("watch")) {
String viewQueryValue = Utils.getQueryValue(url, "v"); String viewQueryValue = Utils.getQueryValue(url, "v");
if (viewQueryValue != null) { if (viewQueryValue != null) {