mirror of
https://github.com/iv-org/invidious.git
synced 2024-11-10 15:32:23 +05:30
Break after successful response
This commit is contained in:
parent
ae2850215f
commit
f8eb5ab416
@ -587,6 +587,8 @@ def fetch_video(id, proxies)
|
|||||||
if !region.empty?
|
if !region.empty?
|
||||||
info["region"] = region.keys[0]
|
info["region"] = region.keys[0]
|
||||||
end
|
end
|
||||||
|
|
||||||
|
break
|
||||||
rescue ex
|
rescue ex
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user