mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
Break after successful response
This commit is contained in:
parent
ae2850215f
commit
f8eb5ab416
1 changed files with 2 additions and 0 deletions
|
@ -587,6 +587,8 @@ def fetch_video(id, proxies)
|
|||
if !region.empty?
|
||||
info["region"] = region.keys[0]
|
||||
end
|
||||
|
||||
break
|
||||
rescue ex
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue