diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-04-08 12:31:20 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-04-08 12:31:20 -0500 |
| commit | 22800efbc43d6f869cd09896df1380969aaa6919 (patch) | |
| tree | 5964176b8b2621e21a2bd441f79d9408cd68c730 | |
| parent | ce28348da5417ca3a457b79082a6b490f14143a1 (diff) | |
| download | invidious-22800efbc43d6f869cd09896df1380969aaa6919.tar.gz invidious-22800efbc43d6f869cd09896df1380969aaa6919.tar.bz2 invidious-22800efbc43d6f869cd09896df1380969aaa6919.zip | |
Clean up decrypt_signature for watch page
| -rw-r--r-- | src/invidious.cr | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/invidious.cr b/src/invidious.cr index c6145425..bab57808 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -253,12 +253,7 @@ get "/watch" do |env| end end - signature = false if adaptive_fmts[0]? && adaptive_fmts[0]["s"]? - signature = true - end - - if signature adaptive_fmts.each do |fmt| fmt["url"] += "&signature=" + decrypt_signature(fmt["s"]) end |
