mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-20 20:51:28 +02:00
Marked pornhub album test as flaky
This commit is contained in:
@@ -5,13 +5,16 @@ import java.net.URL;
|
|||||||
|
|
||||||
import com.rarchives.ripme.ripper.rippers.PornhubRipper;
|
import com.rarchives.ripme.ripper.rippers.PornhubRipper;
|
||||||
import com.rarchives.ripme.utils.Http;
|
import com.rarchives.ripme.utils.Http;
|
||||||
|
import com.rarchives.ripme.utils.Utils;
|
||||||
import org.jsoup.nodes.Document;
|
import org.jsoup.nodes.Document;
|
||||||
|
|
||||||
public class PornhubRipperTest extends RippersTest {
|
public class PornhubRipperTest extends RippersTest {
|
||||||
public void testPornhubRip() throws IOException {
|
public void testPornhubRip() throws IOException {
|
||||||
|
if (Utils.getConfigBoolean("test.run_flaky_tests", false)) {
|
||||||
PornhubRipper ripper = new PornhubRipper(new URL("https://www.pornhub.com/album/15680522"));
|
PornhubRipper ripper = new PornhubRipper(new URL("https://www.pornhub.com/album/15680522"));
|
||||||
testRipper(ripper);
|
testRipper(ripper);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public void testGetGID() throws IOException {
|
public void testGetGID() throws IOException {
|
||||||
URL url = new URL("https://www.pornhub.com/album/15680522?page=2");
|
URL url = new URL("https://www.pornhub.com/album/15680522?page=2");
|
||||||
|
Reference in New Issue
Block a user