mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Add fix for streams
This commit is contained in:
parent
f788548961
commit
c8a798e13c
1 changed files with 2 additions and 0 deletions
|
@ -186,8 +186,10 @@ get "/watch" do |env|
|
|||
|
||||
fmt_stream = [] of HTTP::Params
|
||||
video.info["url_encoded_fmt_stream_map"].split(",") do |string|
|
||||
if !string.empty?
|
||||
fmt_stream << HTTP::Params.parse(string)
|
||||
end
|
||||
end
|
||||
|
||||
adaptive_fmts = [] of HTTP::Params
|
||||
if video.info.has_key?("adaptive_fmts")
|
||||
|
|
Loading…
Reference in a new issue