diff --git a/app/models/parser/kwai_item.rb b/app/models/parser/kwai_item.rb index 1f8dc66f..8884762e 100644 --- a/app/models/parser/kwai_item.rb +++ b/app/models/parser/kwai_item.rb @@ -21,7 +21,7 @@ def parse_data_for_parser(doc, _original_url, jsonld_array) title = get_kwai_text_from_tag(doc, '.info .title') || jsonld.dig('name') name = get_kwai_text_from_tag(doc, '.name') || jsonld.dig('creator','name') - description = jsonld.dig('transcript') || jsonld.dig('description') + description = title || jsonld.dig('transcript') || jsonld.dig('description') @parsed_data.merge!({ title: title, description: description,