diff --git a/src/main/java/moviescraper/doctord/controller/UtilityFunctions.java b/src/main/java/moviescraper/doctord/controller/UtilityFunctions.java index 10170b76..859e40ad 100644 --- a/src/main/java/moviescraper/doctord/controller/UtilityFunctions.java +++ b/src/main/java/moviescraper/doctord/controller/UtilityFunctions.java @@ -61,12 +61,12 @@ public static boolean saveFile(URL url, File outputFile, String referer) { public static boolean saveFile(URL url, String outputPath) { - return saveFile(url, new File(outputPath), null); + return saveFile(url, new File(outputPath), url.toString()); } public static boolean saveFile(URL url, File outputFile) { - return saveFile(url, outputFile, null); + return saveFile(url, outputFile, url.toString()); } }