Added unit test for tumblr embedded image ripping
This commit is contained in:
parent
c489d86192
commit
89ded2936b
@ -7,19 +7,21 @@ import java.net.URL;
|
|||||||
import com.rarchives.ripme.ripper.rippers.TumblrRipper;
|
import com.rarchives.ripme.ripper.rippers.TumblrRipper;
|
||||||
|
|
||||||
public class TumblrRipperTest extends RippersTest {
|
public class TumblrRipperTest extends RippersTest {
|
||||||
// https://github.com/RipMeApp/ripme/issues/250
|
|
||||||
/*
|
|
||||||
public void testTumblrFullRip() throws IOException {
|
public void testTumblrFullRip() throws IOException {
|
||||||
TumblrRipper ripper = new TumblrRipper(new URL("http://wrouinr.tumblr.com/archive"));
|
TumblrRipper ripper = new TumblrRipper(new URL("http://wrouinr.tumblr.com"));
|
||||||
testRipper(ripper);
|
testRipper(ripper);
|
||||||
}
|
}
|
||||||
public void testTumblrTagRip() throws IOException {
|
public void testTumblrTagRip() throws IOException {
|
||||||
TumblrRipper ripper = new TumblrRipper(new URL("http://topinstagirls.tumblr.com/tagged/berlinskaya"));
|
TumblrRipper ripper = new TumblrRipper(new URL("https://these-are-my-b-sides.tumblr.com/tagged/boobs"));
|
||||||
testRipper(ripper);
|
testRipper(ripper);
|
||||||
}
|
}
|
||||||
public void testTumblrPostRip() throws IOException {
|
public void testTumblrPostRip() throws IOException {
|
||||||
TumblrRipper ripper = new TumblrRipper(new URL("http://sadbaffoon.tumblr.com/post/132045920789/what-a-hoe"));
|
TumblrRipper ripper = new TumblrRipper(new URL("http://sadbaffoon.tumblr.com/post/132045920789/what-a-hoe"));
|
||||||
testRipper(ripper);
|
testRipper(ripper);
|
||||||
}
|
}
|
||||||
*/
|
public void testEmbeddedImage() throws IOException {
|
||||||
|
TumblrRipper ripper = new TumblrRipper(new URL("https://these-are-my-b-sides.tumblr.com/post/178225921524/this-was-fun"));
|
||||||
|
testRipper(ripper);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user