mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-23 21:26:55 +01:00
parent
6d3e7424bf
commit
c200096c03
@ -3443,7 +3443,7 @@ def in_download_archive(self, info_dict):
|
||||
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…
Reference in New Issue
Block a user