0
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-22 02:15:12 +00:00

Merge commit '7a4c6cc92f9ffec9135652a49153caffa5520c29'

This commit is contained in:
Philipp Hagemeister 2013-08-07 20:11:04 +02:00
commit b513a251f8

View file

@ -344,7 +344,7 @@ def _decrypt_signature(self, s):
elif len(s) == 85:
return s[2:8] + s[0] + s[9:21] + s[65] + s[22:65] + s[84] + s[66:82] + s[21]
elif len(s) == 84:
return s[83:36:-1] + s[2] + s[35:26:-1] + s[3] + s[25:3:-1] + s[26]
return s[83:27:-1] + s[0] + s[26:5:-1] + s[2:0:-1] + s[27]
elif len(s) == 83:
return s[:15] + s[80] + s[16:80] + s[15]
elif len(s) == 82: