Add support for fvip in videoplayback

pull/3/head
Omar Roth 2018-04-16 13:08:10 -05:00
rodzic 830d6fae8e
commit 6c5cbca575
1 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -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))