wangkun hace 2 años
padre
commit
34fc4c75a3
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      weixinzhishu/weixinzhishu_main/search_key.py

+ 1 - 0
weixinzhishu/weixinzhishu_main/search_key.py

@@ -49,6 +49,7 @@ class Searchkey:
             weixinzhishu_driver = cls.close_weixinzhishu(log_type, crawler)
             weixinzhishu_driver.find_elements(By.NAME, '关闭')[-1].click()
             cls.kill_pid(log_type, crawler)
+            time.sleep(3)
         except Exception as e:
             Common.logger(log_type, crawler).error(f'start_wechat异常:{e}\n')