mirror of
https://git.nadeko.net/Fijxu/invidious.git
synced 2026-01-05 06:21:25 +00:00
Add ability to decrypt signature for vflxuxnEY/en_US/base.js
This commit is contained in:
@@ -163,3 +163,13 @@ def search(query, client)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
def decrypt_signature(a)
|
||||
a = a.split("");
|
||||
a.delete_at(0..2)
|
||||
a = a.reverse
|
||||
c = a[0]
|
||||
a[0] = a[49 % a.size]
|
||||
a[49] = c
|
||||
return a.join("")
|
||||
end
|
||||
Reference in New Issue
Block a user