You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 3, 2023. It is now read-only.
let arguments = [];
// set the url for ytdl
// verbose output
arguments.push('--format=135');
console.log(arguments)
const video1 = youtubedl(youtubeLink,
// Optional arguments passed to youtube-dl.
arguments,
// Additional options can be given for calling `child_process.execFile()`.
{ cwd: __dirname });
I'm not sure that che chunk size is the issue here, I only experience the extreme slow downloads when specifying the '--format='...
This is downloading 4 3 minutes video without specifying, in 22 seconds
And this is download the same playlist with the format, with the 10M chunk-size, (tried without, 5M, 1M...), it takes 4 whole minutes, even if the resolution is higher, the behaviour is different...
When using the .exec I can download with the same format in half a minute...
But with .exec I haven't managed to use the .on events which I needed, I created this #347
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
This downloads incredibly slowly, whereas calling the binary works in seconds.
Using this upload: https://www.youtube.com/watch?v=AJGPNX9M1bY
Similar to: #251
The text was updated successfully, but these errors were encountered: