mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[ie/youtube] Invalidate nsig cache from < 2024.07.09 (#10401)
Versions after297b0a3792and before7ead7332afmay have cached incorrect nsig function data Authored by: bashonly
This commit is contained in:
		| @@ -3142,7 +3142,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor): | ||||
| 
 | ||||
|     def _extract_n_function_code(self, video_id, player_url): | ||||
|         player_id = self._extract_player_info(player_url) | ||||
|         func_code = self.cache.load('youtube-nsig', player_id, min_ver='2022.09.1') | ||||
|         func_code = self.cache.load('youtube-nsig', player_id, min_ver='2024.07.09') | ||||
|         jscode = func_code or self._load_player(video_id, player_url) | ||||
|         jsi = JSInterpreter(jscode) | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 bashonly
					bashonly