Run 'crystal tool format'

This commit is contained in:
Omar Roth 2018-01-21 11:07:32 -06:00
parent e192b55ffa
commit 5c1bd5fae6

View File

@ -146,7 +146,6 @@ get "/watch" do |env|
next templated "error" next templated "error"
end end
fmt_stream = [] of HTTP::Params fmt_stream = [] of HTTP::Params
video.info["url_encoded_fmt_stream_map"].split(",") do |string| video.info["url_encoded_fmt_stream_map"].split(",") do |string|
fmt_stream << HTTP::Params.parse(string) fmt_stream << HTTP::Params.parse(string)
@ -160,7 +159,6 @@ get "/watch" do |env|
adaptive_fmts << HTTP::Params.parse(string) adaptive_fmts << HTTP::Params.parse(string)
end end
end end
rvs = [] of Hash(String, String) rvs = [] of Hash(String, String)
if video.info.has_key?("rvs") if video.info.has_key?("rvs")
video.info["rvs"].split(",").each do |rv| video.info["rvs"].split(",").each do |rv|