feat: ignore ssl errors
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user