aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor
diff options
context:
space:
mode:
authorAaron Wojnowski <aaronwojnowski@gmail.com>2014-11-13 00:33:27 -0600
committerAaron Wojnowski <aaronwojnowski@gmail.com>2014-11-13 00:33:27 -0600
commit894dd8682e07be0d85d1eb2401b9f99ce056e809 (patch)
tree15e4640e03f789f25ffee71c7f297b50440108c4 /youtube_dl/extractor
parent9e05d039e0e0eff90622ead186299192f3f87b18 (diff)
Fix YouTube signature extraction.
Diffstat (limited to 'youtube_dl/extractor')
-rw-r--r--youtube_dl/extractor/youtube.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py
index 5406de50b..cea3d5c95 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -510,7 +510,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
def _parse_sig_js(self, jscode):
funcname = self._search_regex(
- r'signature=([$a-zA-Z]+)', jscode,
+ r'\.sig\|\|([a-zA-Z0-9]+)\(', jscode,
'Initial JS player signature function name')
jsi = JSInterpreter(jscode)