Add fix for empty title tag when fetching videos

pull/633/head
Omar Roth 5 years ago
parent 47f6fe069a
commit 3c226892c6
No known key found for this signature in database
GPG Key ID: B8254FB7EC3D37F2

@ -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…
Cancel
Save