wangkun 2 years ago
parent
commit
2d53ad74cb
1 changed files with 3 additions and 3 deletions
  1. 3 3
      shipinhao/shipinhao_follow.py

+ 3 - 3
shipinhao/shipinhao_follow.py

@@ -256,7 +256,7 @@ class Follow:
         elif video_title in [x for y in Feishu.get_values_batch(log_type, 'shipinhao', 'c77cf9') for x in y]:
             Common.logger(log_type).info('视频已下载\n')
         # 视频号定向_已下载表
-        elif video_title in [x for y in Feishu.get_values_batch(log_type, 'shipinhao', 'XxmRlE') for x in y]:
+        elif video_title in [x for y in Feishu.get_values_batch(log_type, 'shipinhao', 'KsVtLe') for x in y]:
             Common.logger(log_type).info('视频已下载\n')
         # feeds 表去重
         elif video_title in [x for y in Feishu.get_values_batch(log_type, 'shipinhao', 'FSDlBy') for x in y]:
@@ -380,7 +380,7 @@ class Follow:
                     Common.logger(log_type).info("视频上传完成:{}", our_video_link)
 
                     # 视频ID工作表,插入首行
-                    Feishu.insert_columns(log_type, "shipinhao", "XxmRlE", "ROWS", 1, 2)
+                    Feishu.insert_columns(log_type, "shipinhao", "KsVtLe", "ROWS", 1, 2)
                     # 视频ID工作表,首行写入数据
                     upload_time = int(time.time())
                     values = [[time.strftime("%Y/%m/%d %H:%M:%S", time.localtime(upload_time)),
@@ -397,7 +397,7 @@ class Follow:
                                str(download_cover_url),
                                str(download_video_url)]]
                     time.sleep(1)
-                    Feishu.update_values(log_type, "shipinhao", "XxmRlE", "F2:V2", values)
+                    Feishu.update_values(log_type, "shipinhao", "KsVtLe", "F2:V2", values)
 
                     # 删除行或列,可选 ROWS、COLUMNS
                     time.sleep(1)