imgurRipper no longer tries to add ?1 to file names

This commit is contained in:
cyian-1756 2018-02-11 10:04:29 -05:00
parent 639a0353a6
commit 8a4e26474c

View File

@ -213,6 +213,7 @@ public class ImgurRipper extends AlbumRipper {
saveAs += String.format("%03d_", index);
}
saveAs += imgurImage.getSaveAs();
saveAs = saveAs.replaceAll("\\?\\d", "");
addURLToDownload(imgurImage.url, new File(saveAs));
}
}