1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-10-31 22:55:18 +00:00

[cache, extractor/youtube] Invalidate old cache

This commit is contained in:
pukkandan
2022-08-27 07:22:48 +05:30
parent 4e4982ab5b
commit 5e01315aa1
3 changed files with 16 additions and 7 deletions

View File

@@ -2659,7 +2659,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)
func_code = self.cache.load('youtube-nsig', player_id, after='2022.08.19')
jscode = func_code or self._load_player(video_id, player_url)
jsi = JSInterpreter(jscode)