summaryrefslogtreecommitdiff
path: root/.resume/resume.js
diff options
context:
space:
mode:
authorprzemyslawpluta <przemekpluta@hotmail.com>2016-01-14 18:45:04 +0000
committerprzemyslawpluta <przemekpluta@hotmail.com>2016-01-14 18:45:04 +0000
commit9964d3803e7fa3bc6823a755de8101cb02333def (patch)
tree9b31c165ab848c62fb94a43c6b7817739111556c /.resume/resume.js
parent58652578063094e101e47e20bbd9f1b381e7483d (diff)
downloadmongo-edu-9964d3803e7fa3bc6823a755de8101cb02333def.zip
download original subtitles fail to auto
Diffstat (limited to '.resume/resume.js')
-rw-r--r--.resume/resume.js3
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);