lierqiang 2 år sedan
förälder
incheckning
f39a4ad57a
1 ändrade filer med 0 tillägg och 6 borttagningar
  1. 0 6
      kuaishou/kuaishou_follow/kuaishou_follow.py

+ 0 - 6
kuaishou/kuaishou_follow/kuaishou_follow.py

@@ -680,15 +680,9 @@ class KuaiShouFollow:
             except Exception as e:
             except Exception as e:
                 Common.logger(log_type, crawler).info(f"用户:{user_name}, 抓取异常:{e}\n")
                 Common.logger(log_type, crawler).info(f"用户:{user_name}, 抓取异常:{e}\n")
                 continue
                 continue
-<<<<<<< HEAD
             # sleep_time = random.randint(1,3)
             # sleep_time = random.randint(1,3)
             # Common.logger(log_type, crawler).info(f"休眠{sleep_time}秒\n")
             # Common.logger(log_type, crawler).info(f"休眠{sleep_time}秒\n")
             # time.sleep(sleep_time)
             # time.sleep(sleep_time)
-=======
-            sleep_time = random.randint(1, 3)
-            Common.logger(log_type, crawler).info(f"休眠{sleep_time}秒\n")
-            time.sleep(sleep_time)
->>>>>>> lierqiang
 
 
 
 
 if __name__ == "__main__":
 if __name__ == "__main__":