From 92579d617952154f073a21c8b032617336deb803 Mon Sep 17 00:00:00 2001 From: MetaPrime Date: Sun, 5 Jan 2025 01:45:04 -0800 Subject: [PATCH] DeviantartRipper is still broken, but while testing it I discovered a new type of URL that might be handy to test, so I've added that to the test --- .../ripme/tst/ripper/rippers/DeviantartRipperTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/DeviantartRipperTest.java b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/DeviantartRipperTest.java index 23dbe6790..0eab5861d 100644 --- a/src/test/java/com/rarchives/ripme/tst/ripper/rippers/DeviantartRipperTest.java +++ b/src/test/java/com/rarchives/ripme/tst/ripper/rippers/DeviantartRipperTest.java @@ -30,6 +30,14 @@ public void testDeviantartNSFWAlbum() throws IOException, URISyntaxException { testRipper(ripper); } + @Test + @Disabled("Broken ripper") + public void testDeviantartNSFWAlbumSpecificGallery() throws IOException, URISyntaxException { + URL url = new URI("https://www.deviantart.com/justgenitals/gallery/64358240/special-minamishots").toURL(); + DeviantartRipper ripper = new DeviantartRipper(url); + Assertions.assertEquals("airgee", ripper.getGID(url)); + } + @Test @Disabled("Broken ripper") public void testGetGID() throws IOException, URISyntaxException {