node-ytpl
node-ytpl copied to clipboard
Handle empty playlists
Currently, when a playlist is empty (All videos private, example: playlist) ytpl throws TypeError: Cannot read property 'contents' of undefined
This module should handle this and throw a more helpful error message or make the result an empty array