zhangyong vor 5 Monaten
Ursprung
Commit
74ba50520f
2 geänderte Dateien mit 2 neuen und 0 gelöschten Zeilen
  1. 1 0
      job_ks_feed.py
  2. 1 0
      job_sph_feed.py

+ 1 - 0
job_ks_feed.py

@@ -10,6 +10,7 @@ def video_task_start():
             count = sqlCollect.get_feed_count("快手推荐流")
             count = sqlCollect.get_feed_count("快手推荐流")
             count = int(count[0][0])
             count = int(count[0][0])
             if count > 100:
             if count > 100:
+                print(f"到了限制数{count}")
                 time.sleep(3600)
                 time.sleep(3600)
                 continue
                 continue
             print("开始执行任务")
             print("开始执行任务")

+ 1 - 0
job_sph_feed.py

@@ -12,6 +12,7 @@ def video_task_start():
             count = sqlCollect.get_feed_count("视频号推荐流")
             count = sqlCollect.get_feed_count("视频号推荐流")
             count = int(count[0][0])
             count = int(count[0][0])
             if count > 100:
             if count > 100:
+                print(f"到了限制数{count}")
                 time.sleep(3600)
                 time.sleep(3600)
                 continue
                 continue
             print("开始执行任务")
             print("开始执行任务")