Merge pull request #786 from cyian-1756/manganeloRipperFixes
Manganelo ripper fixes
This commit is contained in:
commit
2629d7ff00
@ -99,7 +99,7 @@ public class ManganeloRipper extends AbstractHTMLRipper {
|
||||
Collections.reverse(urlsToGrab);
|
||||
|
||||
for (String url : urlsToGrab) {
|
||||
result.addAll(getURLsFromChap(url));
|
||||
result.addAll(getURLsFromChap("https:" + url));
|
||||
}
|
||||
} else if (url.toExternalForm().contains("/chapter/")) {
|
||||
result.addAll(getURLsFromChap(doc));
|
||||
|
@ -7,7 +7,13 @@ import com.rarchives.ripme.ripper.rippers.ManganeloRipper;
|
||||
|
||||
public class ManganeloRipperTest extends RippersTest {
|
||||
public void testRip() throws IOException {
|
||||
ManganeloRipper ripper = new ManganeloRipper(new URL("http://manganelo.com/manga/black_clover"));
|
||||
ManganeloRipper ripper = new ManganeloRipper(new URL("https://manganelo.com/manga/demonic_housekeeper"));
|
||||
testRipper(ripper);
|
||||
}
|
||||
|
||||
public void testGetGID() throws IOException {
|
||||
URL url = new URL("https://manganelo.com/manga/demonic_housekeeper");
|
||||
ManganeloRipper ripper = new ManganeloRipper(url);
|
||||
assertEquals("demonic_housekeeper", ripper.getGID(url));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user