Skip to content

Invidious is an alternative front-end to YouTube

Update signature

Omar Roth7621c8ef2d24
diff --git a/src/helpers.cr b/src/helpers.cr
index 9ef665fe..851b7e3a 100644
--- a/src/helpers.cr
+++ b/src/helpers.cr
@@ -289,14 +289,11 @@ end
def decrypt_signature(a)
a = a.split("")
- a.delete_at(0..1)
- a = splice(a, 12)
- a = splice(a, 49)
- a.delete_at(0..0)
a.reverse!
- a = splice(a, 68)
+ a = splice(a, 17)
+ a = splice(a, 14)
+ a.delete_at(0..1)
a.reverse!
- a.delete_at(0..2)
return a.join("")
end