Update Invidious URL list in Link Handler Factory

This commit is contained in:
opusforlife2 2020-11-11 14:54:16 +00:00 committed by GitHub
parent 6701b0fe71
commit c0afd5213a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 12 deletions

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) {