aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/youtube.py
diff options
context:
space:
mode:
authorJaime Marquínez Ferrándiz <jaimeMF@users.noreply.github.com>2014-11-13 08:24:29 +0100
committerJaime Marquínez Ferrándiz <jaimeMF@users.noreply.github.com>2014-11-13 08:24:29 +0100
commitcbe71cb41dc1688ae731ea88d2998dc42ec47b0c (patch)
tree15e4640e03f789f25ffee71c7f297b50440108c4 /youtube_dl/extractor/youtube.py
parent9e05d039e0e0eff90622ead186299192f3f87b18 (diff)
parent894dd8682e07be0d85d1eb2401b9f99ce056e809 (diff)
Merge pull request #4178 from awojnowski/master
Fix YouTube Signature Extraction
Diffstat (limited to 'youtube_dl/extractor/youtube.py')
-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)