Community: Fix live video + parse playlist attachments (#3767)

This commit is contained in:
Samantaz Fox
2023-05-08 15:42:06 +02:00
3 changed files with 22 additions and 47 deletions

View File

@@ -268,7 +268,7 @@ private module Parsers
end
private def self.parse(item_contents, author_fallback)
title = item_contents["title"]["simpleText"]?.try &.as_s || ""
title = extract_text(item_contents["title"]) || ""
plid = item_contents["playlistId"]?.try &.as_s || ""
video_count = HelperExtractors.get_video_count(item_contents)