Skip to content

Commit

Permalink
Update invidious instances
Browse files Browse the repository at this point in the history
  • Loading branch information
B0pol committed Jun 23, 2021
1 parent 35c1bdd commit b96b2a6
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -125,18 +125,26 @@ public static boolean isInvidioURL(final URL url) {
|| host.equalsIgnoreCase("invidious.snopyta.org")
|| host.equalsIgnoreCase("yewtu.be")
|| host.equalsIgnoreCase("tube.connect.cafe")
|| host.equalsIgnoreCase("invidious.zapashcanon.fr")
|| host.equalsIgnoreCase("invidious.kavin.rocks")
|| host.equalsIgnoreCase("invidious.tube")
|| host.equalsIgnoreCase("invidious-us.kavin.rocks")
|| host.equalsIgnoreCase("piped.kavin.rocks")
|| host.equalsIgnoreCase("invidious.site")
|| host.equalsIgnoreCase("invidious.xyz")
|| host.equalsIgnoreCase("vid.mint.lgbt")
|| host.equalsIgnoreCase("invidiou.site")
|| host.equalsIgnoreCase("invidious.fdn.fr")
|| host.equalsIgnoreCase("invidious.048596.xyz")
|| host.equalsIgnoreCase("invidious.zee.li")
|| host.equalsIgnoreCase("vid.puffyan.us")
|| host.equalsIgnoreCase("ytprivate.com");
|| host.equalsIgnoreCase("ytprivate.com")
|| host.equalsIgnoreCase("invidious.namazso.eu")
|| host.equalsIgnoreCase("invidious.silkky.cloud")
|| host.equalsIgnoreCase("invidious.exonip.de")
|| host.equalsIgnoreCase("inv.riverside.rocks")
|| host.equalsIgnoreCase("invidious.blamefran.net")
|| host.equalsIgnoreCase("invidious.moomoo.me")
|| host.equalsIgnoreCase("ytb.trom.tf")
|| host.equalsIgnoreCase("yt.cyberhost.uk")
|| host.equalsIgnoreCase("y.com.cm");
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,18 +177,26 @@ public String getId(String urlString) throws ParsingException, IllegalArgumentEx
case "INVIDIOUS.SNOPYTA.ORG":
case "YEWTU.BE":
case "TUBE.CONNECT.CAFE":
case "INVIDIOUS.ZAPASHCANON.FR":
case "INVIDIOUS.KAVIN.ROCKS":
case "INVIDIOUS.TUBE":
case "INVIDIOUS-US.KAVIN.ROCKS":
case "PIPED.KAVIN.ROCKS":
case "INVIDIOUS.SITE":
case "INVIDIOUS.XYZ":
case "VID.MINT.LGBT":
case "INVIDIOU.SITE":
case "INVIDIOUS.FDN.FR":
case "INVIDIOUS.048596.XYZ":
case "INVIDIOUS.ZEE.LI":
case "VID.PUFFYAN.US":
case "YTPRIVATE.COM": { // code-block for hooktube.com and Invidious instances
case "YTPRIVATE.COM":
case "INVIDIOUS.NAMAZSO.EU":
case "INVIDIOUS.SILKKY.CLOUD":
case "INVIDIOUS.EXONIP.DE":
case "INV.RIVERSIDE.ROCKS":
case "INVIDIOUS.BLAMEFRAN.NET":
case "INVIDIOUS.MOOMOO.ME":
case "YTB.TROM.TF":
case "YT.CYBERHOST.UK":
case "Y.COM.CM": { // code-block for hooktube.com and Invidious instances
if (path.equals("watch")) {
String viewQueryValue = Utils.getQueryValue(url, "v");
if (viewQueryValue != null) {
Expand Down

0 comments on commit b96b2a6

Please sign in to comment.