removed -g

This commit is contained in:
Supositware 2019-01-19 23:26:12 +01:00
parent 83bc7e3aba
commit bac1faa828

View file

@ -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}`, '-v', '-g']);
let video = youtubedl(link, [`--username=${fbuser}`, `--password=${fbpasswd}`, '-v']);
video.pipe(fs.createWriteStream('./video.mp4'));
video.on('error', function error(err) {
console.log('error 2:', err);