A feature-rich command-line audio/video downloader
Fix playlist error handling
pukkandan1ac4fd80c87d
diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.pyindex bd6d0d0c1a..29a4e0a72d 100644--- a/yt_dlp/YoutubeDL.py+++ b/yt_dlp/YoutubeDL.py@@ -1732,7 +1732,7 @@ class YoutubeDL:resolved_entries.append((playlist_index, entry))# TODO: Add auto-generated fields- if self._match_entry(entry, incomplete=True) is not None:+ if not entry or self._match_entry(entry, incomplete=True) is not None:continueself.to_screen('[download] Downloading video %s of %s' % (diff --git a/yt_dlp/utils.py b/yt_dlp/utils.pyindex dc6894d83d..4dfdbd58bc 100644--- a/yt_dlp/utils.py+++ b/yt_dlp/utils.py@@ -2883,6 +2883,8 @@ class PlaylistEntries:for index in self.parse_playlist_items(playlist_items):for i, entry in self[index]:yield i, entry+ if not entry:+ continuetry:# TODO: Add auto-generated fieldsself.ydl._match_entry(entry, incomplete=True, silent=True)