From 4632e7ef593e4d932b4e4d0fccc9b40e0fbf9d52 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Sat, 6 Jan 2018 12:24:22 -0500 Subject: [PATCH 1/2] Added gwarchives support to the cheveretoRipper --- .../com/rarchives/ripme/ripper/rippers/CheveretoRipper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/CheveretoRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/CheveretoRipper.java index 899db87d..4b5fb9e6 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/CheveretoRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/CheveretoRipper.java @@ -28,7 +28,7 @@ public class CheveretoRipper extends AbstractHTMLRipper { super(url); } - private static List explicit_domains_1 = Arrays.asList("hushpix.com", "tag-fox.com"); + private static List explicit_domains_1 = Arrays.asList("hushpix.com", "tag-fox.com", "gwarchives.com"); @Override public String getHost() { From 4f9418e8ba39b0981036b3fd3fc483d44ae521ca Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Sat, 6 Jan 2018 13:03:42 -0500 Subject: [PATCH 2/2] added unit test for gwarchive --- .../ripme/tst/ripper/rippers/CheveretoRipperTest.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/CheveretoRipperTest.java b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/CheveretoRipperTest.java index 519c5a41..0c6344ea 100644 --- a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/CheveretoRipperTest.java +++ b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/CheveretoRipperTest.java @@ -15,4 +15,9 @@ public class CheveretoRipperTest extends RippersTest { CheveretoRipper ripper = new CheveretoRipper(new URL("http://tag-fox.com/album/Thjb")); testRipper(ripper); } + + public void testgwarchives() throws IOException { + CheveretoRipper ripper = new CheveretoRipper(new URL("https://gwarchives.com/album/ns4q")); + testRipper(ripper); + } }