diff options
Diffstat (limited to 'src/downloaders.js')
-rw-r--r-- | src/downloaders.js | 4 |
1 files changed, 2 insertions, 2 deletions
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') } } |