mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-09-05 02:19:36 +02:00
parent
6d3e7424bf
commit
c200096c03
@ -3443,7 +3443,7 @@ def in_download_archive(self, info_dict):
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
vid_ids = [self._make_archive_id(info_dict)]
|
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)
|
return any(id_ in self.archive for id_ in vid_ids)
|
||||||
|
|
||||||
def record_download_archive(self, info_dict):
|
def record_download_archive(self, info_dict):
|
||||||
|
Loading…
Reference in New Issue
Block a user