mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Add fix for empty title tag when fetching videos
This commit is contained in:
parent
47f6fe069a
commit
3c226892c6
1 changed files with 1 additions and 1 deletions
|
@ -1166,7 +1166,7 @@ def fetch_video(id, region)
|
|||
raise "Video unavailable."
|
||||
end
|
||||
|
||||
if !info["title"]?
|
||||
if !info["title"]? || info["title"].empty?
|
||||
raise "Video unavailable."
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue