|
@@ -235,9 +235,9 @@ class getVideo:
|
|
formatted_time = current_time.strftime("%Y-%m-%d %H:%M:%S")
|
|
formatted_time = current_time.strftime("%Y-%m-%d %H:%M:%S")
|
|
sqlCollect.insert_machine_making_data(name, task_mark, channel_id, url, v_id, piaoquan_id, new_title, code, formatted_time, old_title)
|
|
sqlCollect.insert_machine_making_data(name, task_mark, channel_id, url, v_id, piaoquan_id, new_title, code, formatted_time, old_title)
|
|
if title == "原标题" or title == "AI标题":
|
|
if title == "原标题" or title == "AI标题":
|
|
- values = [[name, task_mark, channel_id, url, v_id, piaoquan_id, old_title, title,new_title, str(code), formatted_time, str(rule)]]
|
|
|
|
|
|
+ values = [[name, task_mark, channel_id, url, str(v_id), piaoquan_id, old_title, title,new_title, str(code), formatted_time, str(rule)]]
|
|
else:
|
|
else:
|
|
- values = [[name, task_mark, channel_id, url, v_id, piaoquan_id, old_title, "",new_title, str(code), formatted_time, str(rule)]]
|
|
|
|
|
|
+ values = [[name, task_mark, channel_id, url, str(v_id), piaoquan_id, old_title, "",new_title, str(code), formatted_time, str(rule)]]
|
|
# 使用锁保护表格插入操作
|
|
# 使用锁保护表格插入操作
|
|
with lock:
|
|
with lock:
|
|
if name == "王雪珂":
|
|
if name == "王雪珂":
|
|
@@ -259,7 +259,7 @@ class getVideo:
|
|
elif name == "信欣":
|
|
elif name == "信欣":
|
|
sheet = "lPe1eT"
|
|
sheet = "lPe1eT"
|
|
elif name == "快手创作者版品类推荐流":
|
|
elif name == "快手创作者版品类推荐流":
|
|
- sheet = "1aOVQa"
|
|
|
|
|
|
+ sheet = "k7l7nQ"
|
|
Feishu.insert_columns("ILb4sa0LahddRktnRipcu2vQnLb", sheet, "ROWS", 1, 2)
|
|
Feishu.insert_columns("ILb4sa0LahddRktnRipcu2vQnLb", sheet, "ROWS", 1, 2)
|
|
time.sleep(0.5)
|
|
time.sleep(0.5)
|
|
Feishu.update_values("ILb4sa0LahddRktnRipcu2vQnLb", sheet, "A2:Z2", values)
|
|
Feishu.update_values("ILb4sa0LahddRktnRipcu2vQnLb", sheet, "A2:Z2", values)
|