zhangyong пре 7 месеци
родитељ
комит
26326d387f
2 измењених фајлова са 2 додато и 2 уклоњено
  1. 1 1
      redis_clear_mark.py
  2. 1 1
      video_rewriting/video_processor.py

+ 1 - 1
redis_clear_mark.py

@@ -4,7 +4,7 @@ from common.redis import del_dyss_redis_key
 
 
 
 
 def redis_bot():
 def redis_bot():
-    lists = ['dyss-count', 'sph-count', 'sphss-count', 'ksss-count']
+    lists = ['dyss-count', 'sph-count', 'ss-sph-count', 'ksss-count']
     print("开始执行")
     print("开始执行")
     for mark_count in lists:
     for mark_count in lists:
         print(mark_count)
         print(mark_count)

+ 1 - 1
video_rewriting/video_processor.py

@@ -629,7 +629,7 @@ class VideoProcessor:
                     Common.logger(mark).log(f"快手搜索接口今日已经上限")
                     Common.logger(mark).log(f"快手搜索接口今日已经上限")
                     return "快手搜索上限"
                     return "快手搜索上限"
             if mark == 'sph-pl-gjc':
             if mark == 'sph-pl-gjc':
-                mark_count = 'sphss-count'
+                mark_count = 'ss-sph-count'
                 count = get_first_value_with_prefix(mark_count)
                 count = get_first_value_with_prefix(mark_count)
                 increment_key(mark_count)
                 increment_key(mark_count)
                 if int(count) >= 300:
                 if int(count) >= 300: