Handle missing title fields in VideoRendererParser.parse

このコミットが含まれているのは:
Frank de Lange 2021-10-12 14:56:15 +00:00
コミット c44c1003af
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -43,7 +43,7 @@ private module Parsers
private def self.parse(item_contents, author_fallback)
video_id = item_contents["videoId"].as_s
title = extract_text(item_contents["title"]) || ""
title = extract_text(item_contents["title"]?) || ""
# Extract author information
if author_info = item_contents.dig?("ownerText", "runs", 0)