Merge pull request #139 from cyian-1756/imgbox

fixed Imgbox ripper; removed unti test for site that doesn't exist anymore
This commit is contained in:
cyian-1756 2017-11-03 21:52:47 -04:00 committed by GitHub
commit fe8b9ec8da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View File

@ -50,6 +50,7 @@ public class ImgboxRipper extends AbstractHTMLRipper {
for (Element thumb : doc.select("div.boxed-content > a > img")) { for (Element thumb : doc.select("div.boxed-content > a > img")) {
String image = thumb.attr("src").replaceAll("thumbs", "images"); String image = thumb.attr("src").replaceAll("thumbs", "images");
image = image.replace("_b", "_o"); image = image.replace("_b", "_o");
image = image.replaceAll("\\d-s", "i");
imageURLs.add(image); imageURLs.add(image);
} }
return imageURLs; return imageURLs;

View File

@ -8,7 +8,6 @@ import com.rarchives.ripme.ripper.rippers.DeviantartRipper;
import com.rarchives.ripme.ripper.rippers.EightmusesRipper; import com.rarchives.ripme.ripper.rippers.EightmusesRipper;
import com.rarchives.ripme.ripper.rippers.FivehundredpxRipper; import com.rarchives.ripme.ripper.rippers.FivehundredpxRipper;
import com.rarchives.ripme.ripper.rippers.FuraffinityRipper; 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.GirlsOfDesireRipper;
import com.rarchives.ripme.ripper.rippers.HentaifoundryRipper; import com.rarchives.ripme.ripper.rippers.HentaifoundryRipper;
import com.rarchives.ripme.ripper.rippers.ImagearnRipper; import com.rarchives.ripme.ripper.rippers.ImagearnRipper;
@ -130,12 +129,7 @@ public class BasicRippersTest extends RippersTest {
testRipper(ripper); testRipper(ripper);
} }
*/ */
public void testGifyoAlbum() throws IOException {
GifyoRipper ripper = new GifyoRipper(new URL("http://gifyo.com/PieSecrets/"));
testRipper(ripper);
}
public void testGirlsofdesireAlbum() throws IOException { public void testGirlsofdesireAlbum() throws IOException {
GirlsOfDesireRipper ripper = new GirlsOfDesireRipper(new URL("http://www.girlsofdesire.org/galleries/krillia/")); GirlsOfDesireRipper ripper = new GirlsOfDesireRipper(new URL("http://www.girlsofdesire.org/galleries/krillia/"));
testRipper(ripper); testRipper(ripper);