zhangyong há 1 ano atrás
pai
commit
6e209eae6a
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      extract_data/kuaishou/kuaishou_author.py

+ 1 - 1
extract_data/kuaishou/kuaishou_author.py

@@ -77,7 +77,7 @@ class kuaishouAuthor():
                 count = 0
                 while True:
                     if count > 5:
-                        break
+                        continue
                     time.sleep(random.randint(10, 50))
                     url = "https://www.kuaishou.com/graphql"
                     payload = json.dumps({