mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Add fix for missing param in "/videoplayback"
This commit is contained in:
parent
17b84f32df
commit
0a404cc9a6
1 changed files with 1 additions and 1 deletions
|
@ -3958,7 +3958,7 @@ end
|
||||||
get "/videoplayback" do |env|
|
get "/videoplayback" do |env|
|
||||||
query_params = env.params.query
|
query_params = env.params.query
|
||||||
|
|
||||||
fvip = query_params["fvip"]
|
fvip = query_params["fvip"]? || "3"
|
||||||
mn = query_params["mn"].split(",")[-1]
|
mn = query_params["mn"].split(",")[-1]
|
||||||
host = "https://r#{fvip}---#{mn}.googlevideo.com"
|
host = "https://r#{fvip}---#{mn}.googlevideo.com"
|
||||||
url = "/videoplayback?#{query_params.to_s}"
|
url = "/videoplayback?#{query_params.to_s}"
|
||||||
|
|
Loading…
Reference in a new issue