kopia lustrzana https://github.com/iv-org/invidious
Fix thumbnail URL on recommended videos
rodzic
b13b91e2bf
commit
e767651836
|
@ -850,7 +850,7 @@ get "/api/v1/videos/:id" do |env|
|
|||
qualities.each do |quality|
|
||||
json.field quality[:name] do
|
||||
json.object do
|
||||
json.field "url", "https://i.ytimg.com/vi/#{id}/#{quality["url"]}.jpg"
|
||||
json.field "url", "https://i.ytimg.com/vi/#{rv["id"]}/#{quality["url"]}.jpg"
|
||||
json.field "width", quality[:width]
|
||||
json.field "height", quality[:height]
|
||||
end
|
||||
|
|
Ładowanie…
Reference in New Issue