mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Watch: Load watch page data for premieres
This commit is contained in:
parent
545a5937d8
commit
233bd3f593
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue