mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-20 13:57:25 +01:00
Record multi_video
playlists in download archive
This commit is contained in:
parent
feebf6d02f
commit
8f35b886d9
@ -2013,6 +2013,11 @@ def __process_playlist(self, ie_result, download):
|
|||||||
# Do not set for full playlist
|
# Do not set for full playlist
|
||||||
ie_result.pop('requested_entries')
|
ie_result.pop('requested_entries')
|
||||||
|
|
||||||
|
if ie_result['_type'] == 'multi_video' and not failures:
|
||||||
|
if self.params.get('force_write_download_archive') or (
|
||||||
|
not self.params.get('simulate') and not self.params.get('skip_download')):
|
||||||
|
self.record_download_archive(ie_result)
|
||||||
|
|
||||||
# Write the updated info to json
|
# Write the updated info to json
|
||||||
if _infojson_written is True and self._write_info_json(
|
if _infojson_written is True and self._write_info_json(
|
||||||
'updated playlist', ie_result,
|
'updated playlist', ie_result,
|
||||||
|
Loading…
Reference in New Issue
Block a user