1
0
mirror of https://github.com/iv-org/invidious.git synced 2025-03-31 16:26:21 +05:30

Update signature

This commit is contained in:
Omar Roth 2018-03-28 16:38:40 -05:00
parent f5437b18c7
commit 8d97ecaeb1

@ -243,15 +243,12 @@ end
def decrypt_signature(a)
a = a.split("")
a = splice(a, 12)
a = splice(a, 18)
a.reverse!
a.delete_at(0..1)
a = splice(a, 67)
a.delete_at(0..2)
a.reverse!
a.delete_at(0..2)
a = splice(a, 69)
a.reverse!
a.delete_at(0..2)
return a.join("")
end