diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-10-01 20:02:14 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-10-01 20:02:14 -0500 |
| commit | f8eb5ab4162a90b1bf4d3245d664c29dc80099f8 (patch) | |
| tree | bfead8f299855879f19893279b5260f8c4f136b0 | |
| parent | ae2850215fbcafeadb37cefea10054bba70d889b (diff) | |
| download | invidious-f8eb5ab4162a90b1bf4d3245d664c29dc80099f8.tar.gz invidious-f8eb5ab4162a90b1bf4d3245d664c29dc80099f8.tar.bz2 invidious-f8eb5ab4162a90b1bf4d3245d664c29dc80099f8.zip | |
Break after successful response0.8.0
| -rw-r--r-- | src/invidious/videos.cr | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
