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