zhangbo 1 年之前
父節點
當前提交
21157b36b0
共有 2 個文件被更改,包括 1 次插入1 次删除
  1. 1 0
      region_rule_rank_h_by24h.py
  2. 0 1
      rule_rank_h_by_24h.py

+ 1 - 0
region_rule_rank_h_by24h.py

@@ -168,6 +168,7 @@ def video_rank(df, now_date, now_h, rule_key, param, region, data_key):
     h_recall_df['videoid'] = h_recall_df['videoid'].astype(int)
     h_recall_df['videoid'] = h_recall_df['videoid'].astype(int)
     h_recall_videos = h_recall_df['videoid'].to_list()
     h_recall_videos = h_recall_df['videoid'].to_list()
     log_.info(f'h_recall_videos count = {len(h_recall_videos)}')
     log_.info(f'h_recall_videos count = {len(h_recall_videos)}')
+    log_.info('h_recall_videos:{}'.format('-'.join([str(i) for i in h_recall_videos])))
 
 
     # 视频状态过滤
     # 视频状态过滤
     if data_key in ['data7', ]:
     if data_key in ['data7', ]:

+ 0 - 1
rule_rank_h_by_24h.py

@@ -191,7 +191,6 @@ def video_rank_h(df, now_date, now_h, rule_key, param, data_key, notify_backend)
     day_recall_df = day_recall_df[day_recall_df['platform_return_rate'] > platform_return_rate]
     day_recall_df = day_recall_df[day_recall_df['platform_return_rate'] > platform_return_rate]
     day_recall_videos = day_recall_df['videoid'].to_list()
     day_recall_videos = day_recall_df['videoid'].to_list()
     log_.info(f'h_by24h_recall videos count = {len(day_recall_videos)}')
     log_.info(f'h_by24h_recall videos count = {len(day_recall_videos)}')
-    log_.info('day_recall_videos:{}'.format('-'.join([str(i) for i in day_recall_videos])))
     # 视频状态过滤
     # 视频状态过滤
     if data_key in ['data7', ]:
     if data_key in ['data7', ]:
         filtered_videos = filter_video_status_app(day_recall_videos)
         filtered_videos = filter_video_status_app(day_recall_videos)