|
@@ -75,7 +75,7 @@ class PublishSingleVideoPoolVideos:
|
|
|
# create video crawler plan
|
|
|
date_info = datetime.datetime.today().strftime("%Y-%m-%d")
|
|
|
if experiment_tag:
|
|
|
- plan_name = f"{video_pool_config[platform]['nick_name']}-{category}-{date_info}-视频数量: {len(vid_list): {experiment_tag}}"
|
|
|
+ plan_name = f"{video_pool_config[platform]['nick_name']}-{category}-{date_info}-视频数量: {len(vid_list)}({experiment_tag})"
|
|
|
else:
|
|
|
plan_name = f"{video_pool_config[platform]['nick_name']}-{category}-{date_info}-视频数量: {len(vid_list)}"
|
|
|
crawler_plan_response = aiditApi.auto_create_single_video_crawler_task(
|
|
@@ -176,14 +176,6 @@ class PublishSingleVideoPoolVideos:
|
|
|
self.create_crawler_plan(
|
|
|
normal_vid_list, platform, task_id_tuple, category
|
|
|
)
|
|
|
- if publish_detail_table.get(platform):
|
|
|
- publish_detail_table[platform][category] = len(
|
|
|
- normal_vid_list
|
|
|
- )
|
|
|
- else:
|
|
|
- publish_detail_table[platform] = {
|
|
|
- category: len(normal_vid_list)
|
|
|
- }
|
|
|
|
|
|
if experimental_vid_list:
|
|
|
self.create_crawler_plan(
|
|
@@ -191,16 +183,17 @@ class PublishSingleVideoPoolVideos:
|
|
|
platform,
|
|
|
task_id_tuple,
|
|
|
category,
|
|
|
- "20250610-品类账号实验",
|
|
|
+ "0610品类账号实验",
|
|
|
)
|
|
|
- if publish_detail_table.get(platform):
|
|
|
- publish_detail_table[platform][category] += len(
|
|
|
- experimental_vid_list
|
|
|
- )
|
|
|
- else:
|
|
|
- publish_detail_table[platform] = {
|
|
|
- category: len(experimental_vid_list)
|
|
|
- }
|
|
|
+
|
|
|
+ if publish_detail_table.get(platform):
|
|
|
+ publish_detail_table[platform][category] = len(
|
|
|
+ task_id_tuple
|
|
|
+ )
|
|
|
+ else:
|
|
|
+ publish_detail_table[platform] = {
|
|
|
+ category: len(task_id_tuple)
|
|
|
+ }
|
|
|
else:
|
|
|
feishu_bot_api.bot(
|
|
|
title="视频内容池发布任务",
|
|
@@ -229,4 +222,4 @@ class PublishSingleVideoPoolVideos:
|
|
|
},
|
|
|
table=True,
|
|
|
mention=False,
|
|
|
- )
|
|
|
+ )
|