Add fix for empty title tag when fetching videos

このコミットが含まれているのは:
Omar Roth 2019-07-10 10:44:44 -05:00
コミット 3c226892c6
この署名に対応する既知のキーがデータベースに存在しません
GPGキーID: B8254FB7EC3D37F2
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -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