Ignore ads on 8muses ripper
This commit is contained in:
parent
6d3d3f6586
commit
7235cac91a
@ -120,6 +120,10 @@ public class EightmusesRipper extends AbstractHTMLRipper {
|
|||||||
logger.warn("Thumb does not have data-cfsrc or src: " + thumb);
|
logger.warn("Thumb does not have data-cfsrc or src: " + thumb);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
if (!image.contains("8muses.com")) {
|
||||||
|
// Not hosted on 8mues.
|
||||||
|
continue;
|
||||||
|
}
|
||||||
// Remove relative directory path naming
|
// Remove relative directory path naming
|
||||||
image = image.replaceAll("\\.\\./", "");
|
image = image.replaceAll("\\.\\./", "");
|
||||||
if (image.startsWith("//")) {
|
if (image.startsWith("//")) {
|
||||||
|
Loading…
Reference in New Issue
Block a user