1
0
mirror of https://github.com/RipMeApp/ripme.git synced 2025-08-26 15:24:51 +02:00

Merge pull request #1130 from cyian-1756/url-save-fix

Album ripper now uses System.lineSeparator() instead of a hardcoded n…
This commit is contained in:
cyian-1756
2018-12-28 12:14:07 -05:00
committed by GitHub

View File

@@ -79,7 +79,7 @@ public abstract class AlbumRipper extends AbstractRipper {
String urlFile = this.workingDir + File.separator + "urls.txt";
try (FileWriter fw = new FileWriter(urlFile, true)) {
fw.write(url.toExternalForm());
fw.write("\n");
fw.write(System.lineSeparator());
itemsCompleted.put(url, new File(urlFile));
} catch (IOException e) {
LOGGER.error("Error while writing to " + urlFile, e);