feat: ignore ssl errors

This commit is contained in:
DIYgod
2020-06-15 17:33:33 +08:00
parent 855103c70a
commit 0e8dfafefd
+1 -1
View File
@@ -13,7 +13,7 @@ module.exports = (options, result) => {
op += ` -o downloads/${options.path}`;
}
exec(`you-get ${options.playlist !== '0' ? '--playlist' : ''} ${op} '${options.url}' >> logs/you-get.log`, (err, stdout, stderr) => {
exec(`you-get -k ${options.playlist !== '0' ? '--playlist' : ''} ${op} '${options.url}' >> logs/you-get.log`, (err, stdout, stderr) => {
if (err) {
logger.error(`stderr: ${JSON.stringify(options)}, ${stderr}`);
return;