1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2026-02-12 08:54:25 +00:00

Implement nested --playlist-items

This commit is contained in:
7x11x13
2025-01-01 16:04:42 -05:00
parent 0b6b7742c2
commit ec7250f145
3 changed files with 74 additions and 12 deletions

View File

@@ -431,7 +431,7 @@ def validate_options(opts):
# Other options
if opts.playlist_items is not None:
try:
tuple(PlaylistEntries.parse_playlist_items(opts.playlist_items))
tuple(PlaylistEntries.parse_playlist_items(opts.playlist_items, ()))
except Exception as err:
raise ValueError(f'Invalid playlist-items {opts.playlist_items!r}: {err}')