Break after successful response

This commit is contained in:
Omar Roth 2018-10-01 20:02:14 -05:00
parent ae2850215f
commit f8eb5ab416
1 changed files with 2 additions and 0 deletions

View File

@ -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