From f8eb5ab4162a90b1bf4d3245d664c29dc80099f8 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Mon, 1 Oct 2018 20:02:14 -0500 Subject: [PATCH] Break after successful response --- src/invidious/videos.cr | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/invidious/videos.cr b/src/invidious/videos.cr index 99da3e9d..95cd0033 100644 --- a/src/invidious/videos.cr +++ b/src/invidious/videos.cr @@ -587,6 +587,8 @@ def fetch_video(id, proxies) if !region.empty? info["region"] = region.keys[0] end + + break rescue ex end end