mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-10 09:07:48 +01:00
Update signature function
This commit is contained in:
parent
8a3056d0e3
commit
212ba05047
1 changed files with 6 additions and 9 deletions
|
@ -206,16 +206,13 @@ 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 = splice(a, 53)
|
||||
a = splice(a, 47)
|
||||
a.reverse!
|
||||
a = splice(a, 23)
|
||||
a.delete_at(0..2)
|
||||
a.reverse!
|
||||
a = splice(a, 45)
|
||||
a.reverse!
|
||||
a = splice(a, 66)
|
||||
|
||||
return a.join("")
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue