completeArgs = this.wrapWithIPOptions(completeArgs)
completeArgs = this.wrapWithFFmpegOptions(completeArgs)
- const output = await execa('python', [ youtubeDLBinaryPath, ...completeArgs, url ], processOptions)
+ const { PYTHON_PATH } = CONFIG.IMPORT.VIDEOS.HTTP.YOUTUBE_DL_RELEASE
+ const output = await execa(PYTHON_PATH, [ 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
? output.stdout.trim().split(/\r?\n/)