Skip to content

Commit 5a2dcdc

Browse files
authored
Add Invidious instances
Added all publicly listed Invidious instances from omarroth/invidious wiki page to the link handler factory for YouTube.
1 parent 5f65788 commit 5a2dcdc

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

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

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,20 @@ public String getId(String urlString) throws ParsingException, IllegalArgumentEx
163163
}
164164

165165
case "WWW.INVIDIO.US":
166-
case "INVIDIO.US": { // code-block for hooktube.com and invidio.us
166+
case "DEV.INVIDIO.US"
167+
case "INVIDIO.US":
168+
case "INVIDIOUS.SNOPYTA.ORG":
169+
case "DE.INVIDIOUS.SNOPYTA.ORG":
170+
case "FI.INVIDIOUS.SNOPYTA.ORG":
171+
case "VID.WXZM.SX":
172+
case "INVIDIOUS.KABI.TK":
173+
case "INVIDIOU.SH":
174+
case "WWW.INVIDIOU.SH":
175+
case "NO.INVIDIOU.SH":
176+
case "INVIDIOUS.ENKIRTON.NET":
177+
case "TUBE.POAL.CO":
178+
case "INVIDIOUS.13AD.DE":
179+
case "YT.ELUKERIO.ORG": { // code-block for hooktube.com and Invidious instances
167180
if (path.equals("watch")) {
168181
String viewQueryValue = Utils.getQueryValue(url, "v");
169182
if (viewQueryValue != null) {

0 commit comments

Comments
 (0)