|
@@ -291,6 +291,7 @@ class VideoProcessor:
|
|
|
title_list = [new_old_title, new_test_title]
|
|
|
else:
|
|
|
title_list = [new_old_title]
|
|
|
+ is_first = True
|
|
|
for new_title in title_list:
|
|
|
# 更新数据库
|
|
|
code = cls.upload_video_and_thumbnail(oss_object_key, jpg, v_id, new_title, task_mark, name, piaoquan_id,
|
|
@@ -432,6 +433,10 @@ class VideoProcessor:
|
|
|
Feishu.finish_bot(text,
|
|
|
"https://open.feishu.cn/open-apis/bot/v2/hook/e7697dc6-5254-4411-8b59-3cd0742bf703",
|
|
|
"【 机器改造通知 】")
|
|
|
+ if len(title_list) > 1 and is_first:
|
|
|
+ is_first = False
|
|
|
+ test_title_tag = "lev-供给,rol-机器,#str-改写标题ab实验_46,genMod-搜索"
|
|
|
+ Tag.video_tag(code, test_title_tag)
|
|
|
if tags:
|
|
|
Tag.video_tag(code, tags)
|
|
|
if values:
|