mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Update signature function
This commit is contained in:
parent
2dae26e348
commit
e9f214cdc0
1 changed files with 10 additions and 6 deletions
|
@ -206,13 +206,17 @@ end
|
|||
def decrypt_signature(a)
|
||||
a = a.split("")
|
||||
|
||||
a.reverse!
|
||||
a.delete_at(0..2)
|
||||
a = splice(a, 35)
|
||||
a.delete_at(0)
|
||||
a.reverse!
|
||||
a = splice(a, 54)
|
||||
# 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)
|
||||
|
||||
return a.join("")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue