Fixed 87 length signature

This commit is contained in:
AndreiArba 2013-08-07 08:07:55 +03:00
parent 7a4c6cc92f
commit b1faedb6ea
2 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -182,7 +182,7 @@ class YoutubeIE(InfoExtractor):
if len(s) == 88: if len(s) == 88:
return s[48] + s[81:67:-1] + s[82] + s[66:62:-1] + s[85] + s[61:48:-1] + s[67] + s[47:12:-1] + s[3] + s[11:3:-1] + s[2] + s[12] return s[48] + s[81:67:-1] + s[82] + s[66:62:-1] + s[85] + s[61:48:-1] + s[67] + s[47:12:-1] + s[3] + s[11:3:-1] + s[2] + s[12]
elif len(s) == 87: elif len(s) == 87:
return s[62] + s[82:62:-1] + s[83] + s[61:52:-1] + s[0] + s[51:2:-1] return s[40]+s[82:53:-1]+s[3]+s[52:40:-1]+s[85]+s[39:10:-1]+s[0]+s[9:5:-1]+s[2:0:-1]+s[53]
elif len(s) == 86: elif len(s) == 86:
return s[2:63] + s[82] + s[64:82] + s[63] return s[2:63] + s[82] + s[64:82] + s[63]
elif len(s) == 85: elif len(s) == 85: