Kaynağa Gözat

单日最大视频数扩大到800

luojunhui 4 ay önce
ebeveyn
işleme
1d042b5266
2 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 1 1
      applications/const/__init__.py
  2. 1 1
      applications/wxSpiderApi.py

+ 1 - 1
applications/const/__init__.py

@@ -177,7 +177,7 @@ class WeixinVideoCrawlerConst:
     DEFAULT_ACCOUNT_UID = 76862180
 
     # 每天发送的审核视频数量
-    MAX_VIDEO_NUM = 800
+    MAX_VIDEO_NUM = 1000
 
     # 标题状态
     TITLE_DEFAULT_STATUS = 0

+ 1 - 1
applications/wxSpiderApi.py

@@ -60,7 +60,7 @@ class WeixinSpider(object):
         return response.json()
 
     @classmethod
-    @retryOnNone()
+    # @retryOnNone()
     def update_msg_list(cls, ghId, index) -> dict:
         """
         :return: