mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-25 15:07:22 +00:00
Update signature function
This commit is contained in:
parent
2dae26e348
commit
e9f214cdc0
@ -206,12 +206,16 @@ end
|
|||||||
def decrypt_signature(a)
|
def decrypt_signature(a)
|
||||||
a = a.split("")
|
a = a.split("")
|
||||||
|
|
||||||
a.reverse!
|
# a.reverse!
|
||||||
|
# a.delete_at(0..2)
|
||||||
|
# a = splice(a, 35)
|
||||||
|
# a.delete_at(0)
|
||||||
|
# a.reverse!
|
||||||
|
# a = splice(a, 54)
|
||||||
|
|
||||||
|
a = splice(a, 53)
|
||||||
|
a = splice(a, 47)
|
||||||
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