mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-01-18 01:06:49 +01:00
Fix playlist error handling
Bug in 7e88d7d78f452ea69f06bbdf23f82e9ad7c3de5e
This commit is contained in:
parent
885fe351fb
commit
1ac4fd80c8
@ -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' % (
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user