1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-25 23:06:22 +02:00

Merge disable Hentai nexus and Hentai cafe test, both offline #1881

https://github.com/RipMeApp/ripme/pull/1881
This commit is contained in:
soloturn
2021-05-22 05:44:25 +02:00
2 changed files with 5 additions and 0 deletions

View File

@@ -4,12 +4,14 @@ import java.io.IOException;
import java.net.URL;
import com.rarchives.ripme.ripper.rippers.HentaiCafeRipper;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
public class HentaicafeRipperTest extends RippersTest {
@Test
@Tag("flaky")
@Disabled("20/05/2021 This test was disabled as the site has experienced notable downtime")
public void testHentaiCafeAlbum() throws IOException {
HentaiCafeRipper ripper = new HentaiCafeRipper(new URL("https://hentai.cafe/kikuta-the-oni-in-the-room/"));
testRipper(ripper);
@@ -17,6 +19,7 @@ public class HentaicafeRipperTest extends RippersTest {
// This album has a line break (<br />) in the url. Test it to make sure ripme can handle these invalid urls
@Test
@Tag("flaky")
@Disabled("20/05/2021 This test was disabled as the site has experienced notable downtime")
public void testAlbumWithInvalidChars() throws IOException {
HentaiCafeRipper ripper = new HentaiCafeRipper(new URL("https://hentai.cafe/chobipero-club/"));
testRipper(ripper);

View File

@@ -8,12 +8,14 @@ import java.util.List;
import com.rarchives.ripme.ripper.rippers.HentaiNexusRipper;
import org.json.JSONObject;
import org.junit.Assert;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
public class HentainexusRipperTest extends RippersTest {
@Test
@Tag("flaky")
@Disabled("20/05/2021 This test was disabled as the site has experienced notable downtime")
public void testHentaiNexusJson() throws IOException {
List<URL> testURLs = new ArrayList<>();
testURLs.add(new URL("https://hentainexus.com/view/9202"));