fix parsing of js signature (closes #1695, courtesy of Vincent Hobeïka)
This commit is contained in:
parent
3b6f67f150
commit
4c87c39d4f
1 changed files with 1 additions and 1 deletions
|
|
@ -206,7 +206,7 @@ class VideoPage(BaseYoutubePage):
|
|||
|
||||
def _parse_sig_js(self, jscode):
|
||||
funcname = self._search_regex(
|
||||
r'signature=([$a-zA-Z]+)', jscode,
|
||||
r'\.sig\|\|([a-zA-Z0-9]+)\(', jscode,
|
||||
u'Initial JS player signature function name')
|
||||
|
||||
functions = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue