diff options
author | przemyslawpluta <przemekpluta@hotmail.com> | 2016-01-14 18:45:04 +0000 |
---|---|---|
committer | przemyslawpluta <przemekpluta@hotmail.com> | 2016-01-14 18:45:04 +0000 |
commit | 9964d3803e7fa3bc6823a755de8101cb02333def (patch) | |
tree | 9b31c165ab848c62fb94a43c6b7817739111556c /.resume/resume.js | |
parent | 58652578063094e101e47e20bbd9f1b381e7483d (diff) | |
download | mongo-edu-9964d3803e7fa3bc6823a755de8101cb02333def.zip |
download original subtitles fail to auto
Diffstat (limited to '.resume/resume.js')
-rw-r--r-- | .resume/resume.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/.resume/resume.js b/.resume/resume.js index 385e356..6d6fa6b 100644 --- a/.resume/resume.js +++ b/.resume/resume.js @@ -305,6 +305,9 @@ ytdl.getSubs = function(url, options, callback) { if (options.lang) { args.push('--sub-lang=' + options.lang); } + if (!options.warrning) { + args.push('--no-warnings'); + } call(url, args, [], { cwd: options.cwd }, function(err, data) { if (err) return callback(err); |