Add fix for missing param in "/videoplayback"

This commit is contained in:
Omar Roth 2019-02-27 08:16:58 -06:00
parent 17b84f32df
commit 0a404cc9a6

View file

@ -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}"