mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Fix typo in '/watch'
This commit is contained in:
parent
8cecce7570
commit
4e111c84f3
1 changed files with 0 additions and 2 deletions
|
@ -474,8 +474,6 @@ get "/watch" do |env|
|
||||||
url = audio_streams[0]["url"]
|
url = audio_streams[0]["url"]
|
||||||
|
|
||||||
audio_streams.each do |fmt|
|
audio_streams.each do |fmt|
|
||||||
pp fmt["bitrate"]
|
|
||||||
pp params.quality.rchop("k")
|
|
||||||
if fmt["bitrate"] == params.quality.rchop("k")
|
if fmt["bitrate"] == params.quality.rchop("k")
|
||||||
url = fmt["url"]
|
url = fmt["url"]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue