Fixed failing tests on chanripper

This commit is contained in:
cyian-1756 2018-06-09 15:12:39 -04:00
parent b12821f8cc
commit 8df9c70d6c

View File

@ -88,6 +88,15 @@ public class ChanRipper extends AbstractHTMLRipper {
if (url.toExternalForm().contains("desuchan.net") && url.toExternalForm().contains("/res/")) { if (url.toExternalForm().contains("desuchan.net") && url.toExternalForm().contains("/res/")) {
return true; 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; return false;
} }