Answer the question
In order to leave comments, you need to log in
How to download a video from a link using Node.js?
I'm trying to download videos in bulk using links like:
https://2ch.hk/b/src/178164228/15297765223990.webm
I'm parsing the site, looking for links and trying to download in order, but the problem is that the download starts and drops by 1% percentage
The jump of a separate video goes fine, but when there is an array of links
, everything goes not in the best way (point 2)
for (var i = 0; i < webmlinks.length; i++)
{
//var tmp = titles[i]
var url =webmlinks[i]
const download = new Downloader();
download.get(url);
download.on('done', (dst) => {
// download is finished
});
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question