mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-30 17:20:20 +02:00
videoripper java.nio
This commit is contained in:
@@ -44,10 +44,11 @@ public abstract class VideoRipper extends AbstractRipper {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean addURLToDownload(URL url, File saveAs) {
|
||||
public boolean addURLToDownload(URL url, File saveAsF) {
|
||||
Path saveAs = saveAsF.toPath();
|
||||
if (Utils.getConfigBoolean("urls_only.save", false)) {
|
||||
// Output URL to file
|
||||
String urlFile = this.workingDir + File.separator + "urls.txt";
|
||||
String urlFile = this.workingDir + "/urls.txt";
|
||||
|
||||
try (FileWriter fw = new FileWriter(urlFile, true)) {
|
||||
fw.write(url.toExternalForm());
|
||||
|
Reference in New Issue
Block a user