mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-30 02:32:56 +05:30
Add fix for missing param in "/videoplayback"
This commit is contained in:
parent
17b84f32df
commit
0a404cc9a6
@ -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 New Issue
Block a user