mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-11-11 12:05:14 +00:00
[cleanup] Misc (#13595)
Closes #10853, Closes #12436, Closes #13314, Closes #13609 Authored by: seproDev, InvalidUsernameException, doe1080, hseg, bashonly, adamralph Co-authored-by: bashonly <88596187+bashonly@users.noreply.github.com> Co-authored-by: InvalidUsernameException <InvalidUsernameException@users.noreply.github.com> Co-authored-by: gesh <gesh@gesh.uni.cx> Co-authored-by: Adam Ralph <adam@adamralph.com> Co-authored-by: doe1080 <98906116+doe1080@users.noreply.github.com>
This commit is contained in:
@@ -2076,7 +2076,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||
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.21'), None
|
||||
|
||||
if not cache_spec:
|
||||
code = self._load_player(video_id, player_url)
|
||||
@@ -2180,7 +2180,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||
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.21')
|
||||
if data:
|
||||
self._player_cache[cache_id] = data
|
||||
|
||||
|
||||
Reference in New Issue
Block a user