mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-07-25 21:04:13 +09:00
playlist_result no longer adds kwarg values that contain None
This commit is contained in:
parent
9d9d429fa4
commit
8385c8d047
@ -972,7 +972,8 @@ class InfoExtractor(object):
|
||||
"""Returns a playlist"""
|
||||
video_info = {'_type': 'playlist',
|
||||
'entries': entries}
|
||||
video_info.update(kwargs)
|
||||
video_info.update((key, value) for key, value in kwargs.items() if value is not None)
|
||||
|
||||
if playlist_id:
|
||||
video_info['id'] = playlist_id
|
||||
if playlist_title:
|
||||
|
Loading…
x
Reference in New Issue
Block a user