feat: you-get playlist

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