|
@@ -184,6 +184,7 @@ class Material():
|
|
except:
|
|
except:
|
|
ls_number = None
|
|
ls_number = None
|
|
first_category = row[12]
|
|
first_category = row[12]
|
|
|
|
+ name = row[13]
|
|
|
|
|
|
def count_items(item, separator):
|
|
def count_items(item, separator):
|
|
if item and item not in {'None', ''}:
|
|
if item and item not in {'None', ''}:
|
|
@@ -216,6 +217,7 @@ class Material():
|
|
"gg_duration_total": gg_duration,
|
|
"gg_duration_total": gg_duration,
|
|
"voice": voice,
|
|
"voice": voice,
|
|
"first_category": first_category, # 一级品类
|
|
"first_category": first_category, # 一级品类
|
|
|
|
+ "keyword_name":name
|
|
}
|
|
}
|
|
processed_list.append( json.dumps( number_dict, ensure_ascii=False ) )
|
|
processed_list.append( json.dumps( number_dict, ensure_ascii=False ) )
|
|
if channel_id == "抖音" or channel_id == "快手" or channel_id == "视频号":
|
|
if channel_id == "抖音" or channel_id == "快手" or channel_id == "视频号":
|
|
@@ -246,13 +248,16 @@ class Material():
|
|
"gg_duration_total": gg_duration,
|
|
"gg_duration_total": gg_duration,
|
|
"voice": voice,
|
|
"voice": voice,
|
|
"first_category": first_category, # 一级品类
|
|
"first_category": first_category, # 一级品类
|
|
|
|
+ "keyword_name": name
|
|
}
|
|
}
|
|
processed_list.append( json.dumps( number_dict, ensure_ascii=False ) )
|
|
processed_list.append( json.dumps( number_dict, ensure_ascii=False ) )
|
|
else:
|
|
else:
|
|
|
|
+ processed_list = cls.sort_keyword_data(processed_list)
|
|
return processed_list
|
|
return processed_list
|
|
-
|
|
|
|
|
|
+ processed_list = cls.sort_keyword_data(processed_list)
|
|
return processed_list
|
|
return processed_list
|
|
except:
|
|
except:
|
|
|
|
+ processed_list = cls.sort_keyword_data(processed_list)
|
|
return processed_list
|
|
return processed_list
|
|
|
|
|
|
"""
|
|
"""
|