Fixed DeviantartRipper unit tests
This commit is contained in:
parent
17a3e4eb50
commit
c6aa3a2af9
@ -7,18 +7,18 @@ import com.rarchives.ripme.ripper.rippers.DeviantartRipper;
|
|||||||
|
|
||||||
public class DeviantartRipperTest extends RippersTest {
|
public class DeviantartRipperTest extends RippersTest {
|
||||||
public void testDeviantartAlbum() throws IOException {
|
public void testDeviantartAlbum() throws IOException {
|
||||||
DeviantartRipper ripper = new DeviantartRipper(new URL("http://airgee.deviantart.com/gallery/"));
|
DeviantartRipper ripper = new DeviantartRipper(new URL("https://www.deviantart.com/airgee/gallery/"));
|
||||||
testRipper(ripper);
|
testRipper(ripper);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testDeviantartNSFWAlbum() throws IOException {
|
public void testDeviantartNSFWAlbum() throws IOException {
|
||||||
// NSFW gallery
|
// NSFW gallery
|
||||||
DeviantartRipper ripper = new DeviantartRipper(new URL("http://faterkcx.deviantart.com/gallery/"));
|
DeviantartRipper ripper = new DeviantartRipper(new URL("https://www.deviantart.com/faterkcx/gallery/"));
|
||||||
testRipper(ripper);
|
testRipper(ripper);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testGetGID() throws IOException {
|
public void testGetGID() throws IOException {
|
||||||
URL url = new URL("http://airgee.deviantart.com/gallery/");
|
URL url = new URL("https://www.deviantart.com/airgee/gallery/");
|
||||||
DeviantartRipper ripper = new DeviantartRipper(url);
|
DeviantartRipper ripper = new DeviantartRipper(url);
|
||||||
assertEquals("airgee", ripper.getGID(url));
|
assertEquals("airgee", ripper.getGID(url));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user