summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-03-12 18:53:05 -0500
committerOmar Roth <omarroth@hotmail.com>2018-03-12 18:53:05 -0500
commitc53ab9451919c0e2af39372e5a8b00f664cfb8a8 (patch)
treeeda1ee6742e7a8be1b7b52c5800e57a7947e005f
parent9480c6f8068d7495d0d603e5ffa180d9276990ff (diff)
downloadinvidious-c53ab9451919c0e2af39372e5a8b00f664cfb8a8.tar.gz
invidious-c53ab9451919c0e2af39372e5a8b00f664cfb8a8.tar.bz2
invidious-c53ab9451919c0e2af39372e5a8b00f664cfb8a8.zip
Update signature
-rw-r--r--src/helpers.cr7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/helpers.cr b/src/helpers.cr
index ec07b6c1..1bd74147 100644
--- a/src/helpers.cr
+++ b/src/helpers.cr
@@ -220,12 +220,9 @@ def decrypt_signature(a)
a = a.split("")
a.reverse!
- a = splice(a, 23)
- a.delete_at(0..2)
+ a.delete_at(0)
a.reverse!
- a = splice(a, 45)
- a.reverse!
- a = splice(a, 66)
+ a = splice(a, 50)
return a.join("")
end