1
0
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:
bashonly 2025-07-09 18:16:05 -05:00
parent 34d65ce40c
commit b3eb7e0e95
No known key found for this signature in database
GPG Key ID: 783F096F253D15B0

View File

@ -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