mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-04-21 12:12:38 +02:00
Remove tag-fox from CheveretoRipper as the site is offline; updated CheveretoRipperTest to URLs that exist and remove flaky tags (Fixes #2075)
This commit is contained in:
parent
e9bd8fbb45
commit
4eaaabfff8
@ -34,7 +34,7 @@ public class CheveretoRipper extends AbstractHTMLRipper {
|
||||
super(url);
|
||||
}
|
||||
|
||||
private static List<String> explicit_domains = Arrays.asList("tag-fox.com", "kenzato.uk");
|
||||
private static List<String> explicit_domains = Arrays.asList("kenzato.uk");
|
||||
|
||||
@Override
|
||||
public String getHost() {
|
||||
@ -90,7 +90,6 @@ public class CheveretoRipper extends AbstractHTMLRipper {
|
||||
@Override
|
||||
public Document getNextPage(Document doc) throws IOException {
|
||||
// Find next page
|
||||
String nextUrl = "";
|
||||
// We use comic-nav-next to the find the next page
|
||||
Element elem = doc.select("li.pagination-next > a").first();
|
||||
if (elem == null) {
|
||||
|
@ -4,21 +4,20 @@ import java.io.IOException;
|
||||
import java.net.URI;
|
||||
import java.net.URISyntaxException;
|
||||
|
||||
import com.rarchives.ripme.ripper.rippers.CheveretoRipper;
|
||||
import org.junit.jupiter.api.Tag;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import com.rarchives.ripme.ripper.rippers.CheveretoRipper;
|
||||
|
||||
public class CheveretoRipperTest extends RippersTest {
|
||||
@Test
|
||||
@Tag("flaky")
|
||||
public void testTagFox() throws IOException, URISyntaxException {
|
||||
CheveretoRipper ripper = new CheveretoRipper(new URI("http://tag-fox.com/album/Thjb").toURL());
|
||||
testRipper(ripper);
|
||||
}
|
||||
@Test
|
||||
@Tag("flaky")
|
||||
public void testSubdirAlbum() throws IOException, URISyntaxException {
|
||||
public void testSubdirAlbum1() throws IOException, URISyntaxException {
|
||||
CheveretoRipper ripper = new CheveretoRipper(new URI("https://kenzato.uk/booru/album/TnEc").toURL());
|
||||
testRipper(ripper);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSubdirAlbum2() throws IOException, URISyntaxException {
|
||||
CheveretoRipper ripper = new CheveretoRipper(new URI("https://kenzato.uk/booru/album/XWdIp").toURL());
|
||||
testRipper(ripper);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user