diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index d7e9845f77..3c9b0b5840 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -473,7 +473,7 @@ def _decrypt_signature(self, s, video_id, player_url, age_gate=False): 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