@@ -53,25 +53,24 @@ def video_task():
print("执行生成视频脚结束")
-video_task()
-# # 每天0点10清空集合
-# schedule.every().day.at("00:10").do(clear_returned_usernames)
-#
-# #每10分钟执行次脚本
-# schedule.every(10).minutes.do(video_task)
-# # 每天下午1:30执行任务
-# schedule.every().day.at("15:00").do(job_feishu_bot)
-# while True:
-# schedule.run_pending()
-# time.sleep(1)
-# # list = Material.feishu_list()
-# # AgcVidoe.video_stitching(list)
-# # print(list)
+# 每天0点10清空集合
+schedule.every().day.at("00:10").do(clear_returned_usernames)
+
+#每10分钟执行次脚本
+schedule.every(10).minutes.do(video_task)
+# 每天下午1:30执行任务
+schedule.every().day.at("15:00").do(job_feishu_bot)
+while True:
+ schedule.run_pending()
+ time.sleep(1)
+# list = Material.feishu_list()
+# AgcVidoe.video_stitching(list)
+# print(list)
@@ -316,8 +316,8 @@ class Feishu:
@classmethod
def bot(cls, log_type, crawler, text, mark, mark_name):
try:
- # url = "https://open.feishu.cn/open-apis/bot/v2/hook/5a6ce4ca-32fa-44fe-bbe4-69ae369bb3cf"
- url = "https://open.feishu.cn/open-apis/bot/v2/hook/2b317db6-93ed-43b4-bf01-03c35cfa1d59"
+ url = "https://open.feishu.cn/open-apis/bot/v2/hook/5a6ce4ca-32fa-44fe-bbe4-69ae369bb3cf"
+ # url = "https://open.feishu.cn/open-apis/bot/v2/hook/2b317db6-93ed-43b4-bf01-03c35cfa1d59"
headers = {'Content-Type': 'application/json'}
if crawler == "抖音":
content = "抖音cookie过期"