Browse Source

增加等待时间

zhangyong 10 months ago
parent
commit
df90010257
1 changed files with 1 additions and 0 deletions
  1. 1 0
      video_rewriting/video_processor.py

+ 1 - 0
video_rewriting/video_processor.py

@@ -667,6 +667,7 @@ class VideoProcessor:
                 count = get_first_value_with_prefix(mark_count)
                 increment_key(mark_count)
                 if int(count) >= 300:
+                    time.sleep(10)
                     Common.logger(mark).log(f"视频号搜索接口今日已经上限")
                     return "视频号搜索上限"
             if mark == 'sph-plzh'and task['channel_id'] == '视频号':