From acc1a701f65926a6fb63ce3d445d9e19213a83c0 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 14 Jul 2017 20:13:21 +0000 Subject: Finish up restoring downloaders, maybe --- src/downloaders.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/downloaders.js') diff --git a/src/downloaders.js b/src/downloaders.js index 1de6730..bc9cf15 100644 --- a/src/downloaders.js +++ b/src/downloaders.js @@ -33,13 +33,13 @@ function makeYouTubeDownloader() { const opts = [ '--quiet', '--extract-audio', - '--audio-format', 'wav', + '--audio-format', 'mp3', '--output', tempDir + '/dl.%(ext)s', arg ] return promisifyProcess(spawn('youtube-dl', opts)) - .then(() => tempDir + '/dl.wav') + .then(() => tempDir + '/dl.mp3') } } -- cgit 1.3.0-6-gf8a5