From fe3722674c791527befa33932fe39368092d13aa Mon Sep 17 00:00:00 2001 From: cyian-1756 Date: Thu, 23 Mar 2017 21:06:22 -0400 Subject: [PATCH] Improved file naming --- .../com/rarchives/ripme/ripper/rippers/FuraffinityRipper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/rarchives/ripme/ripper/rippers/FuraffinityRipper.java b/src/main/java/com/rarchives/ripme/ripper/rippers/FuraffinityRipper.java index 4622cf30..2a43c60e 100644 --- a/src/main/java/com/rarchives/ripme/ripper/rippers/FuraffinityRipper.java +++ b/src/main/java/com/rarchives/ripme/ripper/rippers/FuraffinityRipper.java @@ -255,13 +255,13 @@ public class FuraffinityRipper extends AbstractHTMLRipper { String fileExt = fileExtSplit[fileExtSplit.length -1]; fileName = fileName.replaceAll(fileExt, ""); File saveAS; + fileName = fileName.replace("[0-9]*\\.", ""); saveAS = new File( workingDir.getCanonicalPath() + File.separator + fileName + "." + fileExt); - fileName = fileName.replace("[0-9]*\\.", ""); addURLToDownload(new URL(link),saveAS,"",cookies); } catch (IOException e) { logger.error("[!] Exception while loading/parsing " + this.url, e);