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
commit c28b1f6fb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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