kopia lustrzana https://github.com/iv-org/invidious
Fix downloads
The `itag` is now converted to a number, matching the `itag` of `Video.adaptive_fmts` and `Video.fmt_stream`.pull/1654/head
rodzic
e254d2de8e
commit
c81ca187f8
|
@ -3372,7 +3372,7 @@ get "/latest_version" do |env|
|
||||||
env.redirect "/api/v1/captions/#{id}?label=#{label}&title=#{title}"
|
env.redirect "/api/v1/captions/#{id}?label=#{label}&title=#{title}"
|
||||||
next
|
next
|
||||||
else
|
else
|
||||||
itag = download_widget["itag"].as_s
|
itag = download_widget["itag"].as_s.to_i
|
||||||
local = "true"
|
local = "true"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Ładowanie…
Reference in New Issue