浏览代码

抖音 获取数据定时 时间延长

zhangyong 1 年之前
父节点
当前提交
b09a95fd9f
共有 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(1200)  # 每20分钟检查一次
+            time.sleep(12000)  # 每200分钟检查一次
         else:
             douyinAuthor.get_token()