wangkun 2 years ago
parent
commit
34fc4c75a3
1 changed files with 1 additions and 0 deletions
  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')