projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60064c5
)
[youtube] Use new signature cache ID for in-memory cache as well
author
Philipp Hagemeister
<phihag@phihag.de>
Sat, 2 Aug 2014 10:23:18 +0000
(12:23 +0200)
committer
Philipp Hagemeister
<phihag@phihag.de>
Sat, 2 Aug 2014 10:23:18 +0000
(12:23 +0200)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index d7e9845f776294e9c0e0e395e1596067da2aa460..3c9b0b58402189338b5480d1d20f589b751e6dfe 100644
(file)
--- 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