mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[extractor] Support multiple archive ids for one video (#4307)
Closes #4352
This commit is contained in:
		| @@ -3455,11 +3455,9 @@ class YoutubeDL: | ||||
|         if fn is None: | ||||
|             return False | ||||
| 
 | ||||
|         vid_id = self._make_archive_id(info_dict) | ||||
|         if not vid_id: | ||||
|             return False  # Incomplete video information | ||||
| 
 | ||||
|         return vid_id in self.archive | ||||
|         vid_ids = [self._make_archive_id(info_dict)] | ||||
|         vid_ids.extend(info_dict.get('_old_archive_ids', [])) | ||||
|         return any(id_ in self.archive for id_ in vid_ids) | ||||
| 
 | ||||
|     def record_download_archive(self, info_dict): | ||||
|         fn = self.params.get('download_archive') | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan