diff --git a/src/invidious.cr b/src/invidious.cr index 800ea956..5235d826 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -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