From c56a94553320b165276779c99553ee2c1bc19e31 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Fri, 13 Jul 2018 08:50:32 -0500 Subject: [PATCH] Update signature --- src/invidious/helpers.cr | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/invidious/helpers.cr b/src/invidious/helpers.cr index d8aae2c9..c430762f 100644 --- a/src/invidious/helpers.cr +++ b/src/invidious/helpers.cr @@ -300,12 +300,11 @@ end def decrypt_signature(a) a = a.split("") + a = splice(a, 24) a.reverse! - a.delete_at(0..2) - a = splice(a, 23) - a = splice(a, 44) + a = splice(a, 51) a.reverse! - a.delete_at(0..2) + a = splice(a, 60) return a.join("") end