Skip to content

Commit b7a9951

Browse files
authored
Merge pull request #463 from opusforlife2/update_invidious_URLs
Update Invidious URL List
2 parents 5a3f96b + 2174055 commit b7a9951

2 files changed

Lines changed: 20 additions & 24 deletions

File tree

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

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -110,20 +110,18 @@ public static boolean isInvidioURL(URL url) {
110110
return host.equalsIgnoreCase("invidio.us")
111111
|| host.equalsIgnoreCase("dev.invidio.us")
112112
|| host.equalsIgnoreCase("www.invidio.us")
113+
|| host.equalsIgnoreCase("vid.encryptionin.space")
113114
|| host.equalsIgnoreCase("invidious.snopyta.org")
114-
|| host.equalsIgnoreCase("fi.invidious.snopyta.org")
115115
|| host.equalsIgnoreCase("yewtu.be")
116-
|| host.equalsIgnoreCase("invidious.ggc-project.de")
117-
|| host.equalsIgnoreCase("yt.maisputain.ovh")
118-
|| host.equalsIgnoreCase("invidious.13ad.de")
119-
|| host.equalsIgnoreCase("invidious.toot.koeln")
120-
|| host.equalsIgnoreCase("invidious.fdn.fr")
121-
|| host.equalsIgnoreCase("watch.nettohikari.com")
122-
|| host.equalsIgnoreCase("invidious.snwmds.net")
123-
|| host.equalsIgnoreCase("invidious.snwmds.org")
124-
|| host.equalsIgnoreCase("invidious.snwmds.com")
125-
|| host.equalsIgnoreCase("invidious.sunsetravens.com")
126-
|| host.equalsIgnoreCase("invidious.gachirangers.com");
116+
|| host.equalsIgnoreCase("tube.connect.cafe")
117+
|| host.equalsIgnoreCase("invidious.zapashcanon.fr")
118+
|| host.equalsIgnoreCase("invidious.kavin.rocks")
119+
|| host.equalsIgnoreCase("invidious.tube")
120+
|| host.equalsIgnoreCase("invidious.site")
121+
|| host.equalsIgnoreCase("invidious.xyz")
122+
|| host.equalsIgnoreCase("vid.mint.lgbt")
123+
|| host.equalsIgnoreCase("invidiou.site")
124+
|| host.equalsIgnoreCase("invidious.fdn.fr");
127125
}
128126

129127
/**

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

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -186,20 +186,18 @@ 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":
189190
case "INVIDIOUS.SNOPYTA.ORG":
190-
case "FI.INVIDIOUS.SNOPYTA.ORG":
191191
case "YEWTU.BE":
192-
case "INVIDIOUS.GGC-PROJECT.DE":
193-
case "YT.MAISPUTAIN.OVH":
194-
case "INVIDIOUS.13AD.DE":
195-
case "INVIDIOUS.TOOT.KOELN":
196-
case "INVIDIOUS.FDN.FR":
197-
case "WATCH.NETTOHIKARI.COM":
198-
case "INVIDIOUS.SNWMDS.NET":
199-
case "INVIDIOUS.SNWMDS.ORG":
200-
case "INVIDIOUS.SNWMDS.COM":
201-
case "INVIDIOUS.SUNSETRAVENS.COM":
202-
case "INVIDIOUS.GACHIRANGERS.COM": { // code-block for hooktube.com and Invidious instances
192+
case "TUBE.CONNECT.CAFE":
193+
case "INVIDIOUS.ZAPASHCANON.FR":
194+
case "INVIDIOUS.KAVIN.ROCKS":
195+
case "INVIDIOUS.TUBE":
196+
case "INVIDIOUS.SITE":
197+
case "INVIDIOUS.XYZ":
198+
case "VID.MINT.LGBT":
199+
case "INVIDIOU.SITE":
200+
case "INVIDIOUS.FDN.FR": { // code-block for hooktube.com and Invidious instances
203201
if (path.equals("watch")) {
204202
String viewQueryValue = Utils.getQueryValue(url, "v");
205203
if (viewQueryValue != null) {

0 commit comments

Comments
 (0)