1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-01-16 20:28:15 +01:00

crfl --> cr, arttnruppertest

This commit is contained in:
soloturn 2023-06-12 19:42:52 +02:00
parent 0b500354ca
commit 8cbdb33f04

View File

@ -1,26 +1,28 @@
package com.rarchives.ripme.tst.ripper.rippers;
import java.io.IOException;
import java.net.URL;
import com.rarchives.ripme.ripper.rippers.ArtstnRipper;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
public class ArtstnRipperTest extends RippersTest {
@Test
@Tag("flaky")
public void testSingleProject() throws IOException {
URL url = new URL("https://artstn.co/p/JlE15Z");
testRipper(new ArtstnRipper(url));
}
@Test
@Disabled("Failed with cloudflare protection")
public void testUserPortfolio() throws IOException {
URL url = new URL("https://artstn.co/m/rv37");
testRipper(new ArtstnRipper(url));
}
}
package com.rarchives.ripme.tst.ripper.rippers;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import com.rarchives.ripme.ripper.rippers.ArtstnRipper;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
public class ArtstnRipperTest extends RippersTest {
@Test
@Tag("flaky")
public void testSingleProject() throws IOException, URISyntaxException {
URL url = new URI("https://artstn.co/p/JlE15Z").toURL();
testRipper(new ArtstnRipper(url));
}
@Test
@Disabled("Failed with cloudflare protection")
public void testUserPortfolio() throws IOException, URISyntaxException {
URL url = new URI("https://artstn.co/m/rv37").toURL();
testRipper(new ArtstnRipper(url));
}
}