Merge pull request #1654 from saltycrys/fix-downloads

Fix downloads
This commit is contained in:
saltycrys
2021-01-09 21:17:55 +01:00
committed by GitHub

View File

@ -3372,7 +3372,7 @@ get "/latest_version" do |env|
env.redirect "/api/v1/captions/#{id}?label=#{label}&title=#{title}"
next
else
itag = download_widget["itag"].as_s
itag = download_widget["itag"].as_s.to_i
local = "true"
end
end