diff --git a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/VideoRippersTest.java b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/VideoRippersTest.java index 05d7514e..02696755 100644 --- a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/VideoRippersTest.java +++ b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/VideoRippersTest.java @@ -7,9 +7,8 @@ import java.util.List; import com.rarchives.ripme.ripper.VideoRipper; import com.rarchives.ripme.ripper.rippers.video.PornhubRipper; -import com.rarchives.ripme.ripper.rippers.video.TwitchVideoRipper; import com.rarchives.ripme.ripper.rippers.video.XhamsterRipper; -import com.rarchives.ripme.ripper.rippers.video.XvideosRipper; +import com.rarchives.ripme.ripper.rippers.XvideosRipper; import com.rarchives.ripme.ripper.rippers.video.YoupornRipper; import com.rarchives.ripme.ripper.rippers.video.YuvutuRipper; @@ -57,17 +56,7 @@ public class VideoRippersTest extends RippersTest { videoTestHelper(ripper); } } - - public void testXvideosRipper() throws IOException { - List contentURLs = new ArrayList<>(); - contentURLs.add(new URL("https://www.xvideos.com/video19719109/ziggy_star_ultra_hard_anal_pounding")); - contentURLs.add(new URL("https://www.xvideos.com/video23515878/dee_s_pool_toys")); - for (URL url : contentURLs) { - XvideosRipper ripper = new XvideosRipper(url); - videoTestHelper(ripper); - } - } - + public void testPornhubRipper() throws IOException { List contentURLs = new ArrayList<>(); contentURLs.add(new URL("https://www.pornhub.com/view_video.php?viewkey=ph5a329fa707269")); diff --git a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/XvideosRipperTest.java b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/XvideosRipperTest.java new file mode 100644 index 00000000..543ad8ca --- /dev/null +++ b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/XvideosRipperTest.java @@ -0,0 +1,16 @@ +package com.rarchives.ripme.tst.ripper.rippers; + +import java.io.IOException; +import java.net.URL; + +import com.rarchives.ripme.ripper.rippers.XvideosRipper; +import com.rarchives.ripme.tst.ripper.rippers.RippersTest; + +public class XvideosRipperTest extends RippersTest { + + public void testXhamsterAlbum1() throws IOException { + XvideosRipper ripper = new XvideosRipper(new URL("https://www.xvideos.com/video23515878/dee_s_pool_toys")); + testRipper(ripper); + } + +}