1
0
mirror of https://github.com/iv-org/invidious.git synced 2025-04-20 23:46:26 -04:00

Watch: Load watch page data for premieres ()

This commit is contained in:
Samantaz Fox 2023-06-11 16:05:32 +02:00
commit 46ea22f75c
No known key found for this signature in database
GPG Key ID: F42821059186176E

@ -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 date
raise InfoException.new(reason.as_s || "")
end
end