mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-07-18 03:08:31 +00:00
[ie/youtube] Bump minimum version for cached player JS
Authored by: bashonly
This commit is contained in:
parent
34d65ce40c
commit
b3eb7e0e95
@ -2068,7 +2068,7 @@ def _extract_signature_function(self, video_id, player_url, example_sig):
|
||||
assert os.path.basename(func_id) == func_id
|
||||
|
||||
self.write_debug(f'Extracting signature function {func_id}')
|
||||
cache_spec, code = self.cache.load('youtube-sigfuncs', func_id, min_ver='2025.03.31'), None
|
||||
cache_spec, code = self.cache.load('youtube-sigfuncs', func_id, min_ver='2025.07.10'), None
|
||||
|
||||
if not cache_spec:
|
||||
code = self._load_player(video_id, player_url)
|
||||
@ -2172,7 +2172,7 @@ def _load_player_data_from_cache(self, name, player_url):
|
||||
if data := self._player_cache.get(cache_id):
|
||||
return data
|
||||
|
||||
data = self.cache.load(*cache_id, min_ver='2025.03.31')
|
||||
data = self.cache.load(*cache_id, min_ver='2025.07.10')
|
||||
if data:
|
||||
self._player_cache[cache_id] = data
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user