forked from midou/invidious
Update signature
This commit is contained in:
parent
dff93f67f9
commit
2e892e8dd4
@ -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 New Issue
Block a user