youtube-mp3-downloader
Advanced tools
Comparing version 0.7.6 to 0.7.7
@@ -89,3 +89,5 @@ 'use strict'; | ||
var title = 'Unknown'; | ||
var thumbnail = info.videoDetails.thumbnail.thumbnails[0].url || null; | ||
var thumbnail = info.videoDetails.thumbnails ? | ||
info.videoDetails.thumbnails[0].url | ||
: info.videoDetails.thumbnail || null; | ||
@@ -92,0 +94,0 @@ if (videoTitle.indexOf('-') > -1) { |
{ | ||
"name": "youtube-mp3-downloader", | ||
"version": "0.7.6", | ||
"version": "0.7.7", | ||
"description": "Downloads Youtube videos (in parallel, as streams), encodes the audio data as mp3 and stores them in a defineable location", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -9,3 +9,4 @@ declare module YoutubeMp3Downloader { | ||
progressTimeout: number; | ||
allowWebm?: boolean | ||
allowWebm?: boolean; | ||
requestOptions?: {}; | ||
} | ||
@@ -12,0 +13,0 @@ |
15869
190