projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a45c0a5
)
Looks like Google switched to a new JS compiler that includes dollar signs in functio...
author
Phil Kulak
<pkulak@gmail.com>
Thu, 15 Jan 2015 18:23:05 +0000
(10:23 -0800)
committer
Phil Kulak
<pkulak@gmail.com>
Thu, 15 Jan 2015 18:23:05 +0000
(10:23 -0800)
youtube_dl/extractor/youtube.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/youtube.py
b/youtube_dl/extractor/youtube.py
index c7611a3a09de729b56ed3a82e5f00fa12ac2167b..073b78fb50daf337d6f083712326a099a813f415 100644
(file)
--- 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)