From: Jaime Marquínez Ferrándiz Date: Thu, 19 Jun 2014 14:36:42 +0000 (+0200) Subject: [youtube] Recognize signature functions that contain '$' (fixes #3104) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=c26e9ac4b2ce104fed39d37f87b1b253c3346a93;p=youtube-dl [youtube] Recognize signature functions that contain '$' (fixes #3104) --- diff --git a/youtube_dl/extractor/youtube.py b/youtube_dl/extractor/youtube.py index ece62dfce..d45545ee4 100644 --- a/youtube_dl/extractor/youtube.py +++ b/youtube_dl/extractor/youtube.py @@ -440,7 +440,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor, SubtitlesInfoExtractor): def _parse_sig_js(self, jscode): funcname = self._search_regex( - r'signature=([a-zA-Z]+)', jscode, + r'signature=([$a-zA-Z]+)', jscode, u'Initial JS player signature function name') jsi = JSInterpreter(jscode)