verbose
This commit is contained in:
parent
2fa7e242d6
commit
83bc7e3aba
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ class DownloadCommand extends Command {
|
|||
let big = false;
|
||||
|
||||
if (link.includes('http') || link.includes('www')) {
|
||||
let video = youtubedl(link, [`--username=${fbuser}`, `--password=${fbpasswd}`]);
|
||||
let video = youtubedl(link, [`--username=${fbuser}`, `--password=${fbpasswd}`, '-v', '-g']);
|
||||
video.pipe(fs.createWriteStream('./video.mp4'));
|
||||
video.on('error', function error(err) {
|
||||
console.log('error 2:', err);
|
||||
|
|
Loading…
Reference in a new issue