Browse Source

add 循环数量

zhangyong 1 year ago
parent
commit
9b14c33287
1 changed files with 1 additions and 1 deletions
  1. 1 1
      zhufushenghuo/zhufushenghuo_recommend/zfsh_recommend.py

+ 1 - 1
zhufushenghuo/zhufushenghuo_recommend/zfsh_recommend.py

@@ -69,7 +69,7 @@ class ZfshRecommend:
     def get_videoList(cls, log_type, crawler, our_uid, rule_dict, env):
         mq = MQ(topic_name="topic_crawler_etl_" + env)
         uuid1 = str(uuid.uuid1())
-        for page in range(1, 6):
+        for page in range(1, 101):
             try:
                 Common.logger(log_type, crawler).info(f"正在抓取第{page}页")
                 Common.logging(log_type, crawler, env, f"正在抓取第{page}页")