mirror of https://github.com/iv-org/invidious.git
Update signature
This commit is contained in:
parent
f5437b18c7
commit
8d97ecaeb1
|
@ -243,15 +243,12 @@ end
|
||||||
def decrypt_signature(a)
|
def decrypt_signature(a)
|
||||||
a = a.split("")
|
a = a.split("")
|
||||||
|
|
||||||
a = splice(a, 12)
|
|
||||||
a = splice(a, 18)
|
|
||||||
a.reverse!
|
a.reverse!
|
||||||
|
a.delete_at(0..1)
|
||||||
|
a = splice(a, 67)
|
||||||
a.delete_at(0..2)
|
a.delete_at(0..2)
|
||||||
a.reverse!
|
a.reverse!
|
||||||
a.delete_at(0..2)
|
a.delete_at(0..2)
|
||||||
a = splice(a, 69)
|
|
||||||
a.reverse!
|
|
||||||
a.delete_at(0..2)
|
|
||||||
|
|
||||||
return a.join("")
|
return a.join("")
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue