@@ -15,10 +15,10 @@ def job_douyin_data():
douyinAuthor.get_token()
# 设置上午10点运行任务
-schedule.every().day.at("12:00").do(job_douyin_data)
+schedule.every().day.at("14:00").do(job_douyin_data)
# 设置下午4点运行任务
-schedule.every().day.at("04:00").do(job_video_stitching)
+schedule.every().day.at("10:08").do(job_video_stitching)
while True:
schedule.run_pending()
@@ -321,12 +321,12 @@ class VideoStitching():
time.sleep(120)
count += 1
Common.logger().info(f"视频添加到对应用户成功")
- if count >= 2:
+ if count >= 20:
break
except Exception as e:
Common.logger().warning(f"新拼接视频发送oss失败:{e}\n")
continue
@classmethod