mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-01-18 21:17:59 +01:00
Fix furaffinity text file naming. Closes #479
This commit is contained in:
parent
b64a649635
commit
2ea059c2d3
@ -177,6 +177,7 @@ public class FuraffinityRipper extends AbstractHTMLRipper {
|
||||
String saveAs = "";
|
||||
File saveFileAs;
|
||||
saveAs = text.split("\n")[0];
|
||||
saveAs = saveAs.replaceAll("^(\\S+)\\s+by\\s+(.*)$", "$2_$1");
|
||||
for (int i = 1;i < text.split("\n").length; i++) {
|
||||
newText = newText.replace("\\","").replace("/","").replace("~","") + "\n" + text.split("\n")[i];
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user