From 9964d3803e7fa3bc6823a755de8101cb02333def Mon Sep 17 00:00:00 2001 From: przemyslawpluta Date: Thu, 14 Jan 2016 18:45:04 +0000 Subject: download original subtitles fail to auto --- .resume/resume.js | 3 +++ 1 file changed, 3 insertions(+) (limited to '.resume/resume.js') 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); -- cgit v1.2.3