mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Update signature
This commit is contained in:
parent
dff93f67f9
commit
2e892e8dd4
1 changed files with 4 additions and 6 deletions
|
@ -185,14 +185,12 @@ end
|
||||||
def decrypt_signature(a)
|
def decrypt_signature(a)
|
||||||
a = a.split("")
|
a = a.split("")
|
||||||
|
|
||||||
a.delete_at(0..1)
|
|
||||||
a = splice(a, 2)
|
|
||||||
a = splice(a, 51)
|
|
||||||
a = splice(a, 9)
|
|
||||||
a.delete_at(0..1)
|
|
||||||
a.reverse!
|
a.reverse!
|
||||||
a = splice(a, 15)
|
|
||||||
a.delete_at(0..2)
|
a.delete_at(0..2)
|
||||||
|
a = splice(a, 35)
|
||||||
|
a.delete_at(0)
|
||||||
|
a.reverse!
|
||||||
|
a = splice(a, 54)
|
||||||
|
|
||||||
return a.join("")
|
return a.join("")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue