mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-08 09:20:52 +01:00
Update signature
This commit is contained in:
parent
dce9ef3e8b
commit
fef2cbc0b2
@ -295,12 +295,13 @@ end
|
|||||||
def decrypt_signature(a)
|
def decrypt_signature(a)
|
||||||
a = a.split("")
|
a = a.split("")
|
||||||
|
|
||||||
a.delete_at(0..1)
|
|
||||||
a.reverse!
|
a.reverse!
|
||||||
a.delete_at(0..1)
|
a = splice(a, 51)
|
||||||
a.reverse!
|
a.reverse!
|
||||||
|
a = splice(a, 24)
|
||||||
a.delete_at(0..2)
|
a.delete_at(0..2)
|
||||||
a = splice(a, 60)
|
a = splice(a, 70)
|
||||||
|
a.reverse!
|
||||||
|
|
||||||
return a.join("")
|
return a.join("")
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user