1
0
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:
noesterle
2022-10-20 23:47:51 -04:00
committed by soloturn
parent 76d1905807
commit dd307bc4c8

View File

@@ -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);
} }
} }