Don't write youtube-dl stdout in log

It's too big
This commit is contained in:
Chocobozzz 2021-10-25 10:18:41 +02:00
parent 0c691a182c
commit b2ad0090c1
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -155,7 +155,7 @@ export class YoutubeDLCLI {
const output = await execa('python', [ youtubeDLBinaryPath, ...completeArgs, url ], processOptions) const output = await execa('python', [ youtubeDLBinaryPath, ...completeArgs, url ], processOptions)
logger.debug('Runned youtube-dl command.', { command: output.command, stdout: output.stdout, ...lTags() }) logger.debug('Runned youtube-dl command.', { command: output.command, ...lTags() })
return output.stdout return output.stdout
? output.stdout.trim().split(/\r?\n/) ? output.stdout.trim().split(/\r?\n/)