From a9b6b5cd15cff004b4109ab64b181fff23c10770 Mon Sep 17 00:00:00 2001 From: Phil Kulak Date: Thu, 15 Jan 2015 10:23:05 -0800 Subject: [PATCH] Looks like Google switched to a new JS compiler that includes dollar signs in function names. --- youtube_dl/extractor/youtube.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.22.2