mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-03 12:27:39 +02:00
Saved name of image file to be a part of saveAs, allowing images to be put in the subfolder with the same filename.
This commit is contained in:
@@ -210,7 +210,7 @@ public class ImgurRipper extends AlbumRipper {
|
|||||||
if (Utils.getConfigBoolean("download.save_order", true)) {
|
if (Utils.getConfigBoolean("download.save_order", true)) {
|
||||||
saveAs.resolve(String.format("%03d_", index));
|
saveAs.resolve(String.format("%03d_", index));
|
||||||
}
|
}
|
||||||
saveAs.resolve(imgurImage.getSaveAs().replaceAll("\\?\\d", ""));
|
saveAs = saveAs.resolve(imgurImage.getSaveAs().replaceAll("\\?\\d", ""));
|
||||||
addURLToDownload(imgurImage.url, saveAs);
|
addURLToDownload(imgurImage.url, saveAs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user