Skip to content

Commit b96b2a6

Browse files
committed
Update invidious instances
1 parent 35c1bdd commit b96b2a6

2 files changed

Lines changed: 24 additions & 8 deletions

File tree

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,18 +125,26 @@ public static boolean isInvidioURL(final URL url) {
125125
|| host.equalsIgnoreCase("invidious.snopyta.org")
126126
|| host.equalsIgnoreCase("yewtu.be")
127127
|| host.equalsIgnoreCase("tube.connect.cafe")
128-
|| host.equalsIgnoreCase("invidious.zapashcanon.fr")
129128
|| host.equalsIgnoreCase("invidious.kavin.rocks")
130-
|| host.equalsIgnoreCase("invidious.tube")
129+
|| host.equalsIgnoreCase("invidious-us.kavin.rocks")
130+
|| host.equalsIgnoreCase("piped.kavin.rocks")
131131
|| host.equalsIgnoreCase("invidious.site")
132-
|| host.equalsIgnoreCase("invidious.xyz")
133132
|| host.equalsIgnoreCase("vid.mint.lgbt")
134133
|| host.equalsIgnoreCase("invidiou.site")
135134
|| host.equalsIgnoreCase("invidious.fdn.fr")
136135
|| host.equalsIgnoreCase("invidious.048596.xyz")
137136
|| host.equalsIgnoreCase("invidious.zee.li")
138137
|| host.equalsIgnoreCase("vid.puffyan.us")
139-
|| host.equalsIgnoreCase("ytprivate.com");
138+
|| host.equalsIgnoreCase("ytprivate.com")
139+
|| host.equalsIgnoreCase("invidious.namazso.eu")
140+
|| host.equalsIgnoreCase("invidious.silkky.cloud")
141+
|| host.equalsIgnoreCase("invidious.exonip.de")
142+
|| host.equalsIgnoreCase("inv.riverside.rocks")
143+
|| host.equalsIgnoreCase("invidious.blamefran.net")
144+
|| host.equalsIgnoreCase("invidious.moomoo.me")
145+
|| host.equalsIgnoreCase("ytb.trom.tf")
146+
|| host.equalsIgnoreCase("yt.cyberhost.uk")
147+
|| host.equalsIgnoreCase("y.com.cm");
140148
}
141149

142150
/**

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,18 +177,26 @@ public String getId(String urlString) throws ParsingException, IllegalArgumentEx
177177
case "INVIDIOUS.SNOPYTA.ORG":
178178
case "YEWTU.BE":
179179
case "TUBE.CONNECT.CAFE":
180-
case "INVIDIOUS.ZAPASHCANON.FR":
181180
case "INVIDIOUS.KAVIN.ROCKS":
182-
case "INVIDIOUS.TUBE":
181+
case "INVIDIOUS-US.KAVIN.ROCKS":
182+
case "PIPED.KAVIN.ROCKS":
183183
case "INVIDIOUS.SITE":
184-
case "INVIDIOUS.XYZ":
185184
case "VID.MINT.LGBT":
186185
case "INVIDIOU.SITE":
187186
case "INVIDIOUS.FDN.FR":
188187
case "INVIDIOUS.048596.XYZ":
189188
case "INVIDIOUS.ZEE.LI":
190189
case "VID.PUFFYAN.US":
191-
case "YTPRIVATE.COM": { // code-block for hooktube.com and Invidious instances
190+
case "YTPRIVATE.COM":
191+
case "INVIDIOUS.NAMAZSO.EU":
192+
case "INVIDIOUS.SILKKY.CLOUD":
193+
case "INVIDIOUS.EXONIP.DE":
194+
case "INV.RIVERSIDE.ROCKS":
195+
case "INVIDIOUS.BLAMEFRAN.NET":
196+
case "INVIDIOUS.MOOMOO.ME":
197+
case "YTB.TROM.TF":
198+
case "YT.CYBERHOST.UK":
199+
case "Y.COM.CM": { // code-block for hooktube.com and Invidious instances
192200
if (path.equals("watch")) {
193201
String viewQueryValue = Utils.getQueryValue(url, "v");
194202
if (viewQueryValue != null) {

0 commit comments

Comments
 (0)