1
0
mirror of https://github.com/iv-org/invidious.git synced 2024-12-22 14:05:09 -05:00

Update signature

This commit is contained in:
Omar Roth 2018-06-28 10:22:29 -05:00
parent b7f673b1e1
commit fdf92ddc03

View File

@ -298,15 +298,15 @@ end
def decrypt_signature(a)
a = a.split("")
a = splice(a, 65)
a.delete_at(0..0)
a = splice(a, 14)
a = splice(a, 58)
a.reverse!
a = splice(a, 56)
a = splice(a, 49)
a.delete_at(0..2)
a = splice(a, 38)
a.reverse!
a.delete_at(0..0)
a = splice(a, 60)
a.delete_at(0..0)
a = splice(a, 14)
a = splice(a, 23)
return a.join("")
end