From 8df9c70d6c60523016f1042d5444866623ab78a7 Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Sat, 9 Jun 2018 15:12:39 -0400 Subject: [PATCH] Fixed failing tests on chanripper --- .../com/rarchives/ripme/ripper/rippers/ChanRipper.java | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/ChanRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/ChanRipper.java index f5401d35..0ab86244 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/ChanRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/ChanRipper.java @@ -88,6 +88,15 @@ public class ChanRipper extends AbstractHTMLRipper { if (url.toExternalForm().contains("desuchan.net") && url.toExternalForm().contains("/res/")) { return true; } + if (url.toExternalForm().contains("boards.420chan.org") && url.toExternalForm().contains("/res/")) { + return true; + } + if (url.toExternalForm().contains("7chan.org") && url.toExternalForm().contains("/res/")) { + return true; + } + if (url.toExternalForm().contains("xchan.pw") && url.toExternalForm().contains("/board/")) { + return true; + } return false; }