2015-11-12, 02:21
yes, the content of the java script changed, so it can not resolve the correct signature.
plugin.video.youtube\resources\lib\youtube\helper\signature\cypher.py
line 156 should start with:
match = re.search(r'var\s+%s=function\
if someone wants to test it or create a pr on github
edit: well maybe let the old one as fallback, who knows
match = re.search(r'(?:var\s+%s=function|function\s+%s)\((?P<parameter>[^)]+)\)\s?\{\s?(?P<body>[^}]+)\s?\}' % (function_name,function_name),
java_script)
plugin.video.youtube\resources\lib\youtube\helper\signature\cypher.py
line 156 should start with:
match = re.search(r'var\s+%s=function\
if someone wants to test it or create a pr on github
edit: well maybe let the old one as fallback, who knows
match = re.search(r'(?:var\s+%s=function|function\s+%s)\((?P<parameter>[^)]+)\)\s?\{\s?(?P<body>[^}]+)\s?\}' % (function_name,function_name),
java_script)