mirror of
https://github.com/iv-org/invidious.git
synced 2025-03-01 04:42:14 +00:00
Typo
Co-authored-by: Samantaz Fox <coding@samantaz.fr>
This commit is contained in:
parent
164d764d55
commit
d853b9f6dc
@ -111,7 +111,7 @@ module Invidious::Routes::Images
|
||||
if name == "maxres.jpg"
|
||||
build_thumbnails(id).each do |thumb|
|
||||
thumbnail_resource_path = "/vi/#{id}/#{thumb[:url]}.jpg"
|
||||
if get_ytimg_pool("i9").client &.head(thumbnail_resource_path, headers).status_code == 200
|
||||
if get_ytimg_pool("i").client &.head(thumbnail_resource_path, headers).status_code == 200
|
||||
name = thumb[:url] + ".jpg"
|
||||
break
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user