Closed ihm-tswow closed 2 years ago
Version: 4.9.2
4.9.2
Downloading files without an extension causes onProgress percentage progress to become NaN. The download itself seems to work fine.
async main() { await new Downloader( { url: "https://www.google.com/" , fileName: "google.html" , onProgress: (perc)=>{ console.log("% ", perc); } } ).download(); } main();
Gives output:
% NaN % NaN % NaN % NaN % NaN % NaN % NaN % NaN % NaN
Didn't look at closed issues, nevermind this.
duplicate of https://github.com/ibrod83/nodejs-file-downloader/issues/4
Version:
4.9.2
Downloading files without an extension causes onProgress percentage progress to become NaN. The download itself seems to work fine.
Gives output: