mirror of
				https://gitlab.com/ytdl-org/youtube-dl.git
				synced 2025-11-03 23:07:07 -05:00 
			
		
		
		
	[youtube] Use new signature cache ID for in-memory cache as well
This commit is contained in:
		@@ -473,7 +473,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
 | 
			
		||||
        if player_url.startswith(u'//'):
 | 
			
		||||
            player_url = u'https:' + player_url
 | 
			
		||||
        try:
 | 
			
		||||
            player_id = (player_url, len(s))
 | 
			
		||||
            player_id = (player_url, self._signature_cache_id(s))
 | 
			
		||||
            if player_id not in self._player_cache:
 | 
			
		||||
                func = self._extract_signature_function(
 | 
			
		||||
                    video_id, player_url, s
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user