|
@@ -267,7 +267,7 @@ class VideoProcessor:
|
|
|
formatted_time = current_time.strftime("%Y-%m-%d %H:%M:%S")
|
|
|
if name == "品类关键词搜索":
|
|
|
first_category = task["first_category"]
|
|
|
- secondary_category = task["secondary_category"]
|
|
|
+ # secondary_category = task["secondary_category"]
|
|
|
keyword_principal = task["keyword_name"]
|
|
|
tag_first = f"一级品类_{first_category}"
|
|
|
tag_keyword = f"关键词_{url}"
|
|
@@ -299,7 +299,7 @@ class VideoProcessor:
|
|
|
explain,
|
|
|
voice,
|
|
|
first_category,
|
|
|
- secondary_category,
|
|
|
+ "",
|
|
|
keyword_principal,
|
|
|
pq_url
|
|
|
]
|
|
@@ -603,7 +603,7 @@ class VideoProcessor:
|
|
|
oss_object_key = oss_object_key.get("oss_object_key")
|
|
|
time.sleep(1)
|
|
|
jpg_path = None
|
|
|
- if channel_id == "快手历史":
|
|
|
+ if channel_id == "快手历史" or channel_id == "快手" or channel_id == '快手搜索':
|
|
|
jpg = None
|
|
|
elif channel_id == "视频号历史":
|
|
|
jpg_path = Oss.download_sph_ls( cover, video_path_url, v_id )
|