Invidious is an alternative front-end to YouTube
Watch: Load watch page data for premieres
Chunky programmer233bd3f593c6
diff --git a/src/invidious/videos.cr b/src/invidious/videos.crindex 0038a97a..f38b33e5 100644--- a/src/invidious/videos.cr+++ b/src/invidious/videos.cr@@ -394,7 +394,9 @@ def fetch_video(id, region)if reason = info["reason"]?if reason == "Video unavailable"raise NotFoundException.new(reason.as_s || "")- else+ elsif !reason.as_s.starts_with? "Premieres"+ # dont error when it's a premiere.+ # we already parsed most of the data and display the premiere dateraise InfoException.new(reason.as_s || "")endend