Fixed 8muses
This commit is contained in:
parent
1480bbe4fb
commit
cac3ca1615
@ -93,7 +93,7 @@ public class EightmusesRipper extends AbstractHTMLRipper {
|
|||||||
Elements pageImages = page.getElementsByClass("c-tile");
|
Elements pageImages = page.getElementsByClass("c-tile");
|
||||||
for (Element thumb : pageImages) {
|
for (Element thumb : pageImages) {
|
||||||
// If true this link is a sub album
|
// If true this link is a sub album
|
||||||
if (thumb.attr("href").contains("/comix/album/")) {
|
if (thumb.attr("href").contains("/comics/album/")) {
|
||||||
String subUrl = "https://www.8muses.com" + thumb.attr("href");
|
String subUrl = "https://www.8muses.com" + thumb.attr("href");
|
||||||
try {
|
try {
|
||||||
logger.info("Retrieving " + subUrl);
|
logger.info("Retrieving " + subUrl);
|
||||||
@ -106,7 +106,8 @@ public class EightmusesRipper extends AbstractHTMLRipper {
|
|||||||
logger.warn("Error while loading subalbum " + subUrl, e);
|
logger.warn("Error while loading subalbum " + subUrl, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
} else if (thumb.attr("href").contains("/comix/picture/")) {
|
} else if (thumb.attr("href").contains("/comics/picture/")) {
|
||||||
|
logger.info("This page is a album");
|
||||||
logger.info("Ripping image");
|
logger.info("Ripping image");
|
||||||
if (super.isStopped()) break;
|
if (super.isStopped()) break;
|
||||||
// Find thumbnail image source
|
// Find thumbnail image source
|
||||||
|
Loading…
Reference in New Issue
Block a user