Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Handle empty playlists #121

Open
Hazmi35 opened this issue Aug 30, 2021 · 0 comments · May be fixed by #122
Open

Handle empty playlists #121

Hazmi35 opened this issue Aug 30, 2021 · 0 comments · May be fixed by #122
Labels

Comments

@Hazmi35
Copy link

Hazmi35 commented Aug 30, 2021

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 Hazmi35 linked a pull request Aug 30, 2021 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants