diff options
author | Philipp Hagemeister <phihag@phihag.de> | 2014-08-02 12:23:18 +0200 |
---|---|---|
committer | Philipp Hagemeister <phihag@phihag.de> | 2014-08-02 12:23:18 +0200 |
commit | 62af3a0eb5008f21e59949d07430fa2e36dd7e85 (patch) | |
tree | 66369ca07633adc6b8b1116fc04afc3fd2b559d5 | |
parent | 60064c53f154020b2ace26528a372c42e7d895f1 (diff) |
[youtube] Use new signature cache ID for in-memory cache as well
-rw-r--r-- | youtube_dl/extractor/youtube.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index d7e9845f7..3c9b0b584 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -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 |