diff --git a/yt_dlp/YoutubeDL.py b/yt_dlp/YoutubeDL.py index bd6d0d0c1..29a4e0a72 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: continue self.to_screen('[download] Downloading video %s of %s' % ( diff --git a/yt_dlp/utils.py b/yt_dlp/utils.py index dc6894d83..4dfdbd58b 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: + continue try: # TODO: Add auto-generated fields self.ydl._match_entry(entry, incomplete=True, silent=True)