mirror of
https://github.com/RipMeApp/ripme.git
synced 2025-08-25 23:06:22 +02:00
Fixed minor bug with addURLToDownload(url, map<string,stirng>) which caused the file name to default to an empty string instead of null
This commit is contained in:
@@ -236,7 +236,7 @@ public abstract class AbstractRipper
|
||||
// Bit of a hack but this lets us pass a bool using a map<string,String>
|
||||
boolean useMIME = options.getOrDefault("getFileExtFromMIME", "false").toLowerCase().equals("true");
|
||||
return addURLToDownload(url, options.getOrDefault("prefix", ""), options.getOrDefault("subdirectory", ""), options.getOrDefault("referrer", null),
|
||||
cookies, options.getOrDefault("fileName", ""), options.getOrDefault("extension", null), useMIME);
|
||||
cookies, options.getOrDefault("fileName", null), options.getOrDefault("extension", null), useMIME);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user