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:
@@ -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}')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user