|
@@ -43,7 +43,7 @@ class ConsumptionRecommend(object):
|
|
|
text = GoogleAI.run(api_key, video_url)
|
|
|
if "[异常]" in text:
|
|
|
content_video_data(json.dumps(task))
|
|
|
- AliyunLogger.logging(str(video_id), task['title'], task['video_path'], "", task['type'], task['partition'], str(text))
|
|
|
+ AliyunLogger.logging(str(video_id), task['title'], task['video_path'], "", task['type'], task['partition'], orjson.dumps(text).decode())
|
|
|
logger.info(f"[处理] 写入日志成功")
|
|
|
|
|
|
|