浏览代码

抖音数据抓取 每6小时检查一次运行状态

zhangyong 1 年之前
父节点
当前提交
453522e7bf
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main.py

+ 1 - 1
main.py

@@ -26,7 +26,7 @@ def check_token():
     while True:
         count = get_count()
         if count:
-            time.sleep(12000)  # 每200分钟检查一次
+            time.sleep(6 * 60 * 60)  # 每6小时检查一次
         else:
             douyinAuthor.get_token()