Skip to content

Commit 53d3f79

Browse files
committed
update invidious instances list
1 parent beb7050 commit 53d3f79

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/YoutubeParsingHelper.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public static boolean isInvidioURL(final URL url) {
111111
return host.equalsIgnoreCase("invidio.us")
112112
|| host.equalsIgnoreCase("dev.invidio.us")
113113
|| host.equalsIgnoreCase("www.invidio.us")
114-
|| host.equalsIgnoreCase("vid.encryptionin.space")
114+
|| host.equalsIgnoreCase("redirect.invidious.io")
115115
|| host.equalsIgnoreCase("invidious.snopyta.org")
116116
|| host.equalsIgnoreCase("yewtu.be")
117117
|| host.equalsIgnoreCase("tube.connect.cafe")
@@ -122,7 +122,11 @@ public static boolean isInvidioURL(final URL url) {
122122
|| host.equalsIgnoreCase("invidious.xyz")
123123
|| host.equalsIgnoreCase("vid.mint.lgbt")
124124
|| host.equalsIgnoreCase("invidiou.site")
125-
|| host.equalsIgnoreCase("invidious.fdn.fr");
125+
|| host.equalsIgnoreCase("invidious.fdn.fr")
126+
|| host.equalsIgnoreCase("invidious.048596.xyz")
127+
|| host.equalsIgnoreCase("invidious.zee.li")
128+
|| host.equalsIgnoreCase("vid.puffyan.us")
129+
|| host.equalsIgnoreCase("ytprivate.com");
126130
}
127131

128132
/**

extractor/src/main/java/org/schabi/newpipe/extractor/services/youtube/linkHandler/YoutubeStreamLinkHandlerFactory.java

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,6 @@ public String getId(String urlString) throws ParsingException, IllegalArgumentEx
186186
case "WWW.INVIDIO.US":
187187
case "DEV.INVIDIO.US":
188188
case "INVIDIO.US":
189-
case "VID.ENCRYPTIONIN.SPACE":
190189
case "INVIDIOUS.SNOPYTA.ORG":
191190
case "YEWTU.BE":
192191
case "TUBE.CONNECT.CAFE":
@@ -197,7 +196,12 @@ public String getId(String urlString) throws ParsingException, IllegalArgumentEx
197196
case "INVIDIOUS.XYZ":
198197
case "VID.MINT.LGBT":
199198
case "INVIDIOU.SITE":
200-
case "INVIDIOUS.FDN.FR": { // code-block for hooktube.com and Invidious instances
199+
case "INVIDIOUS.FDN.FR":
200+
case "INVIDIOUS.048596.XYZ":
201+
case "INVIDIOUS.ZEE.LI":
202+
case "VID.PUFFYAN.US":
203+
case "YTPRIVATE.COM":
204+
case "REDIRECT.INVIDIOUS.IO": { // code-block for hooktube.com and Invidious instances
201205
if (path.equals("watch")) {
202206
String viewQueryValue = Utils.getQueryValue(url, "v");
203207
if (viewQueryValue != null) {

0 commit comments

Comments
 (0)