node-ytpl icon indicating copy to clipboard operation
node-ytpl copied to clipboard

Handle empty playlists

Open Hazmi35 opened this issue 2 years ago • 0 comments

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

Hazmi35 avatar Aug 30 '21 06:08 Hazmi35