mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-27 02:42:30 +00:00
Update static signatures
This commit is contained in:
parent
edf3e38ebd
commit
4ba146f35d
@ -1072,8 +1072,12 @@ def _static_decrypt_signature(self, s, video_id, player_url, age_gate):
|
|||||||
if len(s) == 86:
|
if 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]
|
||||||
|
|
||||||
if len(s) == 92:
|
if len(s) == 93:
|
||||||
|
return s[86:29:-1] + s[88] + s[28:5:-1]
|
||||||
|
elif len(s) == 92:
|
||||||
return s[25] + s[3:25] + s[0] + s[26:42] + s[79] + s[43:79] + s[91] + s[80:83]
|
return s[25] + s[3:25] + s[0] + s[26:42] + s[79] + s[43:79] + s[91] + s[80:83]
|
||||||
|
elif len(s) == 91:
|
||||||
|
return s[84:27:-1] + s[86] + s[26:5:-1]
|
||||||
elif len(s) == 90:
|
elif len(s) == 90:
|
||||||
return s[25] + s[3:25] + s[2] + s[26:40] + s[77] + s[41:77] + s[89] + s[78:81]
|
return s[25] + s[3:25] + s[2] + s[26:40] + s[77] + s[41:77] + s[89] + s[78:81]
|
||||||
elif len(s) == 89:
|
elif len(s) == 89:
|
||||||
|
Loading…
Reference in New Issue
Block a user