youtube-mp3-downloader
Advanced tools
Comparing version 0.6.5 to 0.6.6
@@ -104,8 +104,3 @@ "use strict"; | ||
} | ||
videoTitle = videoTitle.replace(/[^\w\s]/gi, '').replace(/'/g, '').replace(' ', '-'); | ||
title = title.replace(/[^\w\s]/gi, '').replace(/'/g, '').replace(' ', '-'); | ||
artist = artist.replace(/[^\w\s]/gi, '').replace(/'/g, '').replace(' ', '-'); | ||
//Derive file name, if given, use it, if not, from video title | ||
@@ -159,3 +154,3 @@ var fileName = (task.fileName ? self.outputPath + "/" + task.fileName : self.outputPath + "/" + (sanitize(videoTitle) || info.videoId) + ".mp3"); | ||
.toFormat("mp3") | ||
.outputOptions(outputOptions) | ||
.outputOptions(...outputOptions) | ||
.on("error", function(err) { | ||
@@ -162,0 +157,0 @@ callback(err.message, null); |
{ | ||
"name": "youtube-mp3-downloader", | ||
"version": "0.6.5", | ||
"version": "0.6.6", | ||
"description": "Downloads Youtube videos (in parallel, as streams), encodes the audio data as mp3 and stores them in a defineable location", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
"engines": { | ||
"node": ">=4.0.0" | ||
"node": ">=8.3.0" | ||
}, | ||
@@ -38,0 +38,0 @@ "license": "MIT", |
15861
177