Looks like Google switched to a new JS compiler that includes dollar signs in functio...
authorPhil Kulak <pkulak@gmail.com>
Thu, 15 Jan 2015 18:23:05 +0000 (10:23 -0800)
committerPhil Kulak <pkulak@gmail.com>
Thu, 15 Jan 2015 18:23:05 +0000 (10:23 -0800)
youtube_dl/extractor/youtube.py

index c7611a3a09de729b56ed3a82e5f00fa12ac2167b..073b78fb50daf337d6f083712326a099a813f415 100644 (file)
@@ -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)