mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-02 03:31:20 +05:30
Add fix for empty title tag when fetching videos
This commit is contained in:
parent
47f6fe069a
commit
3c226892c6
@ -1166,7 +1166,7 @@ def fetch_video(id, region)
|
|||||||
raise "Video unavailable."
|
raise "Video unavailable."
|
||||||
end
|
end
|
||||||
|
|
||||||
if !info["title"]?
|
if !info["title"]? || info["title"].empty?
|
||||||
raise "Video unavailable."
|
raise "Video unavailable."
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user