From 0a404cc9a6d2453a4d9090c6630e7a3820c80f29 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Wed, 27 Feb 2019 08:16:58 -0600 Subject: [PATCH] Add fix for missing param in "/videoplayback" --- src/invidious.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious.cr b/src/invidious.cr index 156e4cbf..25b0252b 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -3958,7 +3958,7 @@ end get "/videoplayback" do |env| query_params = env.params.query - fvip = query_params["fvip"] + fvip = query_params["fvip"]? || "3" mn = query_params["mn"].split(",")[-1] host = "https://r#{fvip}---#{mn}.googlevideo.com" url = "/videoplayback?#{query_params.to_s}"