|
@@ -19,9 +19,10 @@ def job_video_stitching():
|
|
dy_yinmei_count = sql.get_dy_yinmei_account_id()
|
|
dy_yinmei_count = sql.get_dy_yinmei_account_id()
|
|
koubo_count = sql.get_koubo_account_id()
|
|
koubo_count = sql.get_koubo_account_id()
|
|
jieri_count = sql.get_jieri_account_id()
|
|
jieri_count = sql.get_jieri_account_id()
|
|
|
|
+ chunjie_zizhi_count = sql.get_chunjie_zizhi_account_id()
|
|
ks_yinmei_count = sql.get_ks_yinmei_account_id()
|
|
ks_yinmei_count = sql.get_ks_yinmei_account_id()
|
|
- # if int(jieri_count) < 20:
|
|
|
|
- # Common.logger("video").info("开始执行-口播-小年")
|
|
|
|
|
|
+ # elif int(jieri_count) < 10:
|
|
|
|
+ # Common.logger("video").info("开始执行-口播-春节")
|
|
# video_type = "口播--美文类"
|
|
# video_type = "口播--美文类"
|
|
# channel_type = "jieri"
|
|
# channel_type = "jieri"
|
|
# VideoStitching.video_stitching(video_type, koubo_count, channel_type)
|
|
# VideoStitching.video_stitching(video_type, koubo_count, channel_type)
|
|
@@ -58,17 +59,6 @@ def job_feishu_bot():
|
|
if count < 30:
|
|
if count < 30:
|
|
Feishu.bot('recommend', '拼接视频', f'视频生成异常,不符合预期,请检查\n目前生成数量如下:\n抖音视频拼接:{dy_yinmei_count}条 \n快手视频拼接:{ks_yinmei_count}条\n口播视频拼接:{koubo_count}条')
|
|
Feishu.bot('recommend', '拼接视频', f'视频生成异常,不符合预期,请检查\n目前生成数量如下:\n抖音视频拼接:{dy_yinmei_count}条 \n快手视频拼接:{ks_yinmei_count}条\n口播视频拼接:{koubo_count}条')
|
|
|
|
|
|
-def job_douyin_data():
|
|
|
|
- douyinAuthor.get_videoList()
|
|
|
|
-
|
|
|
|
-def job_kuaishou_data():
|
|
|
|
- kuaishouAuthor.get_kuaishou_videoList()
|
|
|
|
-
|
|
|
|
-# 每10个小时执行一次
|
|
|
|
-schedule.every(10).hours.do(job_douyin_data)
|
|
|
|
-
|
|
|
|
-# 每10个小时执行一次
|
|
|
|
-schedule.every(10).hours.do(job_kuaishou_data)
|
|
|
|
|
|
|
|
# 每15分钟执行一次
|
|
# 每15分钟执行一次
|
|
schedule.every(15).minutes.do(job_video_stitching)
|
|
schedule.every(15).minutes.do(job_video_stitching)
|