diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/TapasticRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/TapasticRipper.java index b0742bd8..8ef019a2 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/TapasticRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/TapasticRipper.java @@ -38,12 +38,12 @@ public class TapasticRipper extends AbstractHTMLRipper { @Override public String getDomain() { - return "tapastic.com"; + return "tapas.io"; } @Override public String getHost() { - return "tapastic"; + return "tapas"; } @Override @@ -100,12 +100,12 @@ public class TapasticRipper extends AbstractHTMLRipper { @Override public String getGID(URL url) throws MalformedURLException { - Pattern p = Pattern.compile("^http://tapastic.com/series/([^/?]+).*$"); + Pattern p = Pattern.compile("^https?://tapas.io/series/([^/?]+).*$"); Matcher m = p.matcher(url.toExternalForm()); if (m.matches()) { return "series_ " + m.group(1); } - p = Pattern.compile("^http://tapastic.com/episode/([^/?]+).*$"); + p = Pattern.compile("^https?://tapas.io/episode/([^/?]+).*$"); m = p.matcher(url.toExternalForm()); if (m.matches()) { return "ep_" + m.group(1); diff --git a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/TapasticRipperTest.java b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/TapasticRipperTest.java index efef40cd..9617e4b8 100644 --- a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/TapasticRipperTest.java +++ b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/TapasticRipperTest.java @@ -7,7 +7,7 @@ import com.rarchives.ripme.ripper.rippers.TapasticRipper; public class TapasticRipperTest extends RippersTest { public void testTapasticRip() throws IOException { - TapasticRipper ripper = new TapasticRipper(new URL("http://tapastic.com/episode/2139")); + TapasticRipper ripper = new TapasticRipper(new URL("https://tapas.io/series/tsiwbakd-comic")); testRipper(ripper); } }