Fix bug in --download-archive

Closes #4668
pull/4687/head^2
pukkandan 2 years ago
parent 6d3e7424bf
commit c200096c03
No known key found for this signature in database
GPG Key ID: 7EEE9E1E817D0A39

@ -3443,7 +3443,7 @@ class YoutubeDL:
return False
vid_ids = [self._make_archive_id(info_dict)]
vid_ids.extend(info_dict.get('_old_archive_ids', []))
vid_ids.extend(info_dict.get('_old_archive_ids') or [])
return any(id_ in self.archive for id_ in vid_ids)
def record_download_archive(self, info_dict):

Loading…
Cancel
Save