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:
commit
fe8b9ec8da
@ -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;
|
||||||
|
@ -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;
|
||||||
@ -131,11 +130,6 @@ public class BasicRippersTest extends RippersTest {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user