1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-24 14:33:17 +02:00

Merge pull request #683 from cyian-1756/420chanFixes

Fixed failing tests on chanripper
This commit is contained in:
cyian-1756
2018-06-11 13:03:55 -04:00
committed by GitHub

View File

@@ -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;
}