Improved file naming
This commit is contained in:
parent
be093b069a
commit
fe3722674c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user