From 8e8163360abc5a79ec09500e9cc3797aed9e8305 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Fri, 3 Nov 2017 15:14:45 -0400 Subject: [PATCH 1/2] Removed unit test for site which no longer exists --- .../ripme/tst/ripper/rippers/BasicRippersTest.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/BasicRippersTest.java b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/BasicRippersTest.java index 0cb6144c..97e09994 100644 --- a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/BasicRippersTest.java +++ b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/BasicRippersTest.java @@ -8,7 +8,6 @@ import com.rarchives.ripme.ripper.rippers.DeviantartRipper; import com.rarchives.ripme.ripper.rippers.EightmusesRipper; import com.rarchives.ripme.ripper.rippers.FivehundredpxRipper; import com.rarchives.ripme.ripper.rippers.FuraffinityRipper; -import com.rarchives.ripme.ripper.rippers.GifyoRipper; import com.rarchives.ripme.ripper.rippers.GirlsOfDesireRipper; import com.rarchives.ripme.ripper.rippers.HentaifoundryRipper; import com.rarchives.ripme.ripper.rippers.ImagearnRipper; @@ -130,12 +129,7 @@ public class BasicRippersTest extends RippersTest { testRipper(ripper); } */ - - public void testGifyoAlbum() throws IOException { - GifyoRipper ripper = new GifyoRipper(new URL("http://gifyo.com/PieSecrets/")); - testRipper(ripper); - } - + public void testGirlsofdesireAlbum() throws IOException { GirlsOfDesireRipper ripper = new GirlsOfDesireRipper(new URL("http://www.girlsofdesire.org/galleries/krillia/")); testRipper(ripper); From c6057b1409dd6fbea6134039df9e8ec59d102779 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Fri, 3 Nov 2017 21:41:21 -0400 Subject: [PATCH 2/2] Imgbox ripper now downloads full sized images when downloading from galleries --- .../java/com/rarchives/ripme/ripper/rippers/ImgboxRipper.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/ImgboxRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/ImgboxRipper.java index 89b4d96d..f3050a13 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/ImgboxRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/ImgboxRipper.java @@ -50,6 +50,7 @@ public class ImgboxRipper extends AbstractHTMLRipper { for (Element thumb : doc.select("div.boxed-content > a > img")) { String image = thumb.attr("src").replaceAll("thumbs", "images"); image = image.replace("_b", "_o"); + image = image.replaceAll("\\d-s", "i"); imageURLs.add(image); } return imageURLs;