|
@@ -58,7 +58,7 @@ def get_material_info(project_name, period_type):
|
|
|
material_df.rename(columns={'vid': 'signature'}, inplace=True)
|
|
|
|
|
|
# 添加项目名称和日期
|
|
|
- material_df['project_name'] = project_name
|
|
|
+ material_df['query_word'] = project_name
|
|
|
material_df['stat_date'] = datetime.datetime.today().strftime('%Y-%m-%d')
|
|
|
|
|
|
# 写入数据库
|
|
@@ -119,7 +119,7 @@ def get_video_info(vid, project_name):
|
|
|
video_df.drop(labels='video_id', axis=1, inplace=True)
|
|
|
|
|
|
# 添加项目名称和日期
|
|
|
- video_df['project_name'] = project_name
|
|
|
+ video_df['query_word'] = project_name
|
|
|
video_df['stat_date'] = datetime.datetime.today().strftime('%Y-%m-%d')
|
|
|
|
|
|
# 写入数据库
|