wangkun 2 년 전
부모
커밋
34a09d9922
1개의 변경된 파일11개의 추가작업 그리고 11개의 파일을 삭제
  1. 11 11
      main/shipinhao_get_url.py

+ 11 - 11
main/shipinhao_get_url.py

@@ -145,18 +145,18 @@ class GetUrl:
 
     @classmethod
     def run_get_url(cls, log_type):
-        try:
-            while True:
-                if len(Feishu.get_values_batch(log_type, 'shipinhao', 'FSDlBy')) == 1\
-                        and len(Feishu.get_values_batch(log_type, 'shipinhao', '4Y2e5n')) == 1:
-                    Common.logger(log_type).info('暂无需要获取地址的视频信息')
-                    time.sleep(30)
-                    break
-                else:
-                    cls.write_url(log_type)
+        # try:
+        while True:
+            if len(Feishu.get_values_batch(log_type, 'shipinhao', 'FSDlBy')) == 1\
+                    and len(Feishu.get_values_batch(log_type, 'shipinhao', '4Y2e5n')) == 1:
+                Common.logger(log_type).info('暂无需要获取地址的视频信息')
+                time.sleep(30)
+                break
+            else:
+                cls.write_url(log_type)
 
-        except Exception as e:
-            Common.logger(log_type).error('run_get_url异常:{}', e)
+        # except Exception as e:
+        #     Common.logger(log_type).error('run_get_url异常:{}', e)
 
 
 if __name__ == '__main__':