Explorar el Código

download add time.sleep

wangkun hace 3 años
padre
commit
2e1b271c2a
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      main/download_kuaishou.py

+ 1 - 0
main/download_kuaishou.py

@@ -379,6 +379,7 @@ class KuaiShou:
             pass
         else:
             for i in range(len(Feishu.get_values_batch("YWeCh7"))):
+                time.sleep(1)
                 try:
                     download_photo_id = Feishu.get_values_batch("YWeCh7")[i + 1][1]
                     download_video_play_cnt = Feishu.get_values_batch("YWeCh7")[i + 1][2]