From 53d3f7989baca199aaad450ad6e91f81ec9e906d Mon Sep 17 00:00:00 2001 From: bopol Date: Fri, 22 Jan 2021 19:20:22 +0100 Subject: [PATCH] update invidious instances list --- .../extractor/services/youtube/YoutubeParsingHelper.java | 8 ++++++-- .../linkHandler/YoutubeStreamLinkHandlerFactory.java | 8 ++++++-- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java index 2d0b05cd2..f42cd43e9 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java @@ -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"); } /** diff --git a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/linkHandler/YoutubeStreamLinkHandlerFactory.java b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/linkHandler/YoutubeStreamLinkHandlerFactory.java index c37dff517..7199a962b 100644 --- a/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/linkHandler/YoutubeStreamLinkHandlerFactory.java +++ b/extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/linkHandler/YoutubeStreamLinkHandlerFactory.java @@ -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) {