Merge remote-tracking branch 'upstream/master'

This commit is contained in:
digitalnoise 2018-09-12 15:03:39 -05:00
commit cbab8a88ed
2 changed files with 5 additions and 2 deletions

View File

@ -69,7 +69,7 @@ public class ViewcomicRipper extends AbstractHTMLRipper {
@Override
public List<String> getURLsFromPage(Document doc) {
List<String> result = new ArrayList<String>();
for (Element el : doc.select("div.pinbin-copy > a > img")) {
for (Element el : doc.select("div.separator > a > img")) {
result.add(el.attr("src"));
}
return result;

View File

@ -6,5 +6,8 @@ import java.net.URL;
import com.rarchives.ripme.ripper.rippers.ViewcomicRipper;
public class ViewcomicRipperTest extends RippersTest {
// TODO add a test
public void testViewcomicRipper() throws IOException {
ViewcomicRipper ripper = new ViewcomicRipper(new URL("https://view-comic.com/batman-no-mans-land-vol-1/"));
testRipper(ripper);
}
}