createwritestream

Node.js Javascript don't download images from array

对着背影说爱祢 提交于 2021-02-11 14:57:35
问题 I'm implementing a image downloader because I want display them from client and not from URLs, inside a class I have a method that takes URLs from a datafile and then download them in samefolder. messaggi[] array is a result of reading datafile and I simplify in this snippet declaring it (of course in my code isn't declared as you see but it absolutly works as this result). the problem is that in this snippet doesn't arrive to download images and sometimes just download 1 of them and is