|
|
@ -321,11 +321,13 @@ private module Parsers
|
|
|
|
content_container = item_contents["contents"]
|
|
|
|
content_container = item_contents["contents"]
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
raw_contents = content_container["items"].as_a
|
|
|
|
raw_contents = content_container["items"]?.try &.as_a
|
|
|
|
raw_contents.each do |item|
|
|
|
|
if !raw_contents.nil?
|
|
|
|
result = extract_item(item)
|
|
|
|
raw_contents.each do |item|
|
|
|
|
if !result.nil?
|
|
|
|
result = extract_item(item)
|
|
|
|
contents << result
|
|
|
|
if !result.nil?
|
|
|
|
|
|
|
|
contents << result
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|