aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl
diff options
context:
space:
mode:
authorPhil Kulak <pkulak@gmail.com>2015-01-15 10:23:05 -0800
committerPhil Kulak <pkulak@gmail.com>2015-01-15 10:23:05 -0800
commita9b6b5cd15cff004b4109ab64b181fff23c10770 (patch)
tree9d41193bbb683c48ae8d07451d3cfdd27847f3f4 /youtube_dl
parenta45c0a5d67b87e9ea16e2812f44753c9cb946636 (diff)
Looks like Google switched to a new JS compiler that includes dollar signs in function names.
Diffstat (limited to 'youtube_dl')
-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 c7611a3a0..073b78fb5 100644
--- a/youtube_dl/extractor/youtube.py
+++ b/youtube_dl/extractor/youtube.py
@@ -588,7 +588,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor):
def _parse_sig_js(self, jscode):
funcname = self._search_regex(
- r'\.sig\|\|([a-zA-Z0-9]+)\(', jscode,
+ r'\.sig\|\|([a-zA-Z0-9\$]+)\(', jscode,
'Initial JS player signature function name')
jsi = JSInterpreter(jscode)