mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-23 22:14:06 +02:00
Added opt to disable prefix for HentaifoundryRipper
This commit is contained in:
@@ -180,7 +180,12 @@ public class HentaifoundryRipper extends AbstractHTMLRipper {
|
|||||||
if (url.toExternalForm().endsWith(".pdf")) {
|
if (url.toExternalForm().endsWith(".pdf")) {
|
||||||
addURLToDownload(url, getPrefix(index), "", this.url.toExternalForm(), cookies);
|
addURLToDownload(url, getPrefix(index), "", this.url.toExternalForm(), cookies);
|
||||||
} else {
|
} else {
|
||||||
addURLToDownload(url, getPrefix(index));
|
// If hentai-foundry.use_prefix is false the ripper will not add a numbered prefix to any images
|
||||||
|
if (Utils.getConfigBoolean("hentai-foundry.use_prefix", true)) {
|
||||||
|
addURLToDownload(url, getPrefix(index));
|
||||||
|
} else {
|
||||||
|
addURLToDownload(url, "");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user