mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Fix downloads
The `itag` is now converted to a number, matching the `itag` of `Video.adaptive_fmts` and `Video.fmt_stream`.
This commit is contained in:
parent
e254d2de8e
commit
c81ca187f8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue