mirror of
https://github.com/iv-org/invidious.git
synced 2024-10-01 01:35:38 -04:00
Add support for fvip in videoplayback
This commit is contained in:
parent
830d6fae8e
commit
6c5cbca575
@ -800,8 +800,9 @@ end
|
||||
get "/videoplayback" do |env|
|
||||
query_params = env.params.query
|
||||
|
||||
fvip = query_params["fvip"]
|
||||
mn = query_params["mn"].split(",")[0]
|
||||
host = "https://r5---#{mn}.googlevideo.com"
|
||||
host = "https://r#{fvip}---#{mn}.googlevideo.com"
|
||||
url = "/videoplayback?#{query_params.to_s}"
|
||||
|
||||
client = make_client(URI.parse(host))
|
||||
|
Loading…
Reference in New Issue
Block a user